1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 21:33:16 +03:00
Commit Graph

104 Commits

Author SHA1 Message Date
nbd
f6c0a7c4e1 mac80211: remove the passive-scan/no-ibss flag of channels 36-48 in the world regd similar to the default regd in ath
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-08 12:09:36 +00:00
nbd
6cbf2e7dbd mac80211: use built-in regulatory database instead of crda to avoid various race conditions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 16:17:30 +00:00
nbd
04288d031e mac80211: get rid of duplicate iw reg set command (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 14:56:04 +00:00
jow
0bc9af31a9 [package] mac80211: allow NOHT for IBSS mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 12:24:43 +00:00
nbd
ec28fb9573 mac80211: add hostapd socket option to wpa_supplicant for IBSS RSN as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:52:39 +00:00
nbd
a3bf9b4420 mac80211: modify mac80211.sh to in order to support IBSS-RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:46 +00:00
blogic
3412b9496c mac80211: Allow preamble configuration
Add a new wireless config parameter short_preamble=0|1 to enable
usage of short preambles. Default is to only allow long preambles
as before.

Even if short_preamble is set to 1 hostapd will take care that
short preambles are disabled as soon as a STA associates that
cannot handle short preambles.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:15 +00:00
nbd
5c56c7216a mac80211: clean up init, remove some redundant checks, fix tx power init (#10113)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-23 19:24:38 +00:00
nbd
c9a1f8fd98 mac80211: fix powersave setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 10:27:28 +00:00
nbd
8d7f442921 mac80211: apply txpower after bringing up the interface, should fix #10113
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:19:21 +00:00
nbd
b156662f7a mac80211: use iw instead of iwconfig to disable powersave
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:18:46 +00:00
hauke
f1f9051d48 mac80211: add support for firmware 666.2 for b43 devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-08 22:53:13 +00:00
jow
fcb4e88f44 [package] mac80211: change wireless ifname numbering schema
Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number
and following ifaces an index-suffix, e.g. wlan0 for network 1 on phy 1 and wlan0-1 for network 2 on phy 1.
This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if
the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-06 18:49:17 +00:00
nbd
5ccde941d0 mac80211: set the country code early to allow crda to settle
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-08 17:34:56 +00:00
jow
23fcdc02ec [package] mac80211: rework mac address generation for virtual interfaces; set locally administered bit on generated macs and change the last two bytes isntead of the first one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-25 14:14:37 +00:00
jow
83b3afb1c9 [package] mac80211: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-08 23:21:36 +00:00
jow
31189640a7 [package] mac80211: configure hostapd logging options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-20 00:14:48 +00:00
jow
de43975f39 [package] mac80211: use first available channel from current phy if channel is set to "auto"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 22:55:59 +00:00
hauke
61d9ee9aa7 mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 17:07:42 +00:00
nbd
f251f74087 ath9k: add a temporary uci option for setting the channel bandwidth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 17:19:42 +00:00
nbd
df75fe9f17 mac80211: configure HT IBSS through uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-24 19:53:31 +00:00
nbd
ea4e7541cf mac80211: broadcast the country IE by default if the country code is configured (#9308)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:33:27 +00:00
hauke
21ca38e406 mac80211: b43: Add Firmware 5.10.56.27
Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to
its newest release 14 and updating the b43-fwsquash.py to recognise rev 16
n phy files.

Also rename the current options from STABLE/EXPERIMENTAL to their version
numbers.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:40:08 +00:00
acinonyx
73b9ef150f [package] mac80211: Fix unique device autodetection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 00:44:02 +00:00
nbd
768662b701 mac80211: allow AP configuration of beacon interval, DTIM period, maximum permissible STA listen interval, and basic rates
This introduces beacon_int and basic_rate (per wifi-device), and
dtim_period and max_listen_int (per wifi-iface) for mac80211. These
configure the beacon interval, basic rate specification, DTIM period
(one DTIM per this many beacon frames), and maximum listen interval
that a STA will be permitted to associate with. All of the new
settings are optional; if they're absent, the existing hostapd (or, in
the case of basic_rate, driver) defaults will be used.

The existing bintval property only used for type adhoc is moved from
wifi-iface to wifi-device, and is renamed to beacon_interval because
bintval isn't a great name. The beacon interval is property of the
wifi-device; while the choice between wifi-device and wifi-iface may
not be relevant with an adhoc network, there's no reason to configure
the same property one way for type adhoc and another for type ap. This
change isn't expected to cause many problems, as bintval was added
recently, in r25111.

Similarly, the list of basic rates, also added for type adhoc in
r25111, is a property of the device and not the interface. Further, it
ought to be represented in UCI as a list, not a string dependent on
the format that iw uses. I’ve moved it onto the device, renamed it to
basic_rate, and made it configurable for APs via hostapd. Finally, I
adapted it to use the same kb/s representation as mcast_rate; there's
precedent for this format in that it's also how madwifi interprets
mcast_rate.

Neither bintval nor basicrates were ever documented in the UCI
wireless configuration page on the wiki. When this change is
committed, I'll update the documentation as needed.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 21:08:28 +00:00
nbd
3344f8e40c mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 12:01:54 +00:00
jow
8d510f3c87 [package] mac80211: fix order of iw parameters, fix broken antenna config call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 16:00:02 +00:00
acinonyx
96418c0a98 [package] mac80211: Fix antenna setting when only one of {rx,tx}antenna options is specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 09:13:51 +00:00
jow
9afe60a2f4 [package] mac80211: add missing done to mac80211.sh (#8735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 21:01:23 +00:00
jow
4b099d9265 [package] mac80211: add mising esac to mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:37:12 +00:00
jow
028570018d [package] mac80211: rework recent mac80211.sh additions:
- split antenna options into rxantenna and txantenna to bring it in line with broadcom and madwifi
	- get rid of temporary variables
	- follow the documented config protocol for wep keys (option key # + option key# [s:]data)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 18:01:26 +00:00
nbd
593e983ee0 mac80211: Add new parameters to mac80211.sh
Add new options 'bintval' (beacon interval), 'basicrates' (basic rates) and
'antenna' (antenna selection) for /etc/config/wireless to be used with
mac80211 drivers.

Enable WEP encryption for IBSS mode.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:34:15 +00:00
nbd
9eacd21000 mac80211: Add mac address filter configuration for hostapd
Add support of mac address filter. Now 'macfilter' and 'maclist' options
can be used with mac80211.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:54 +00:00
jow
9577fc90b0 [package] mac80211: support per-vif wmm option, defaults to 1 if unset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 13:19:53 +00:00
jow
fe23d30dfa [package] mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 13:33:55 +00:00
nbd
32dcd7a566 hostapd: add support for specifying the maximum number of clients
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:56 +00:00
jow
0df11abb3b [package] mac80211: use iw for txpower control (#8416)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 18:43:47 +00:00
nbd
1fa0d3608c mac80211: set GF flag in hostapd config if supported
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 15:04:29 +00:00
nbd
6202b41774 mac80211: add uci support for the ad-hoc multicast rate setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-25 23:51:12 +00:00
nbd
225812219e hostapd/mac80211: implement support for AP+STA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 23:39:54 +00:00
nbd
5067696d5e wifi: change the default channel from 5 to 11, 5 was a really bad choice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-13 12:22:48 +00:00
jow
ca8826ce87 [package] mac80211: fix handling of frag and rts options, thanks stintel!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 16:01:17 +00:00
nbd
3cb4900951 mac80211: fix interface teardown for kernels >= 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 18:53:48 +00:00
nbd
45aa23838f mac80211: use the nl80211 driver for wpa_supplicant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 22:03:54 +00:00
nbd
db7f7dad8e mac80211: enable rx/tx stbc by default if supported
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 22:03:44 +00:00
nbd
b5f911aeb9 mac80211: fix interface setup for wds client
sometimes an interface does not get added to the bridge properly
this seems to be a race of interface setup vs wpa_supplicant
fix this by configuring the interface only after wpa_supplicant has been started

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:23:14 +00:00
nbd
6bcc663402 mac80211: add support for the noscan option for skipping the initial scan on hostapd startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 17:36:04 +00:00
nbd
5834ee619f mac80211: fix essid setting for ad-hoc (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 19:05:32 +00:00
nbd
8b0591cf4b mac80211: fix client mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 19:02:05 +00:00
nbd
41d5e0ca05 mac80211: fix interface startup order for AP+STA (patch by yann lopez)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 17:06:53 +00:00