mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-29 18:43:14 +00:00
mac80211: add multiple BSSID support
This advertises multiple BSS interfaces in a single set of beacons Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
da55eba968
commit
651cb1422e
@ -27,7 +27,7 @@ drv_mac80211_init_device_config() {
|
|||||||
config_add_string distance
|
config_add_string distance
|
||||||
config_add_int beacon_int chanbw frag rts
|
config_add_int beacon_int chanbw frag rts
|
||||||
config_add_int rxantenna txantenna txpower min_tx_power
|
config_add_int rxantenna txantenna txpower min_tx_power
|
||||||
config_add_int num_global_macaddr
|
config_add_int num_global_macaddr multiple_bssid
|
||||||
config_add_boolean noscan ht_coex acs_exclude_dfs background_radar
|
config_add_boolean noscan ht_coex acs_exclude_dfs background_radar
|
||||||
config_add_array ht_capab
|
config_add_array ht_capab
|
||||||
config_add_array channels
|
config_add_array channels
|
||||||
@ -488,6 +488,7 @@ ${channel:+channel=$channel}
|
|||||||
${channel_list:+chanlist=$channel_list}
|
${channel_list:+chanlist=$channel_list}
|
||||||
${hostapd_noscan:+noscan=1}
|
${hostapd_noscan:+noscan=1}
|
||||||
${tx_burst:+tx_queue_data2_burst=$tx_burst}
|
${tx_burst:+tx_queue_data2_burst=$tx_burst}
|
||||||
|
mbssid=$multiple_bssid
|
||||||
$base_cfg
|
$base_cfg
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@ -534,7 +535,7 @@ mac80211_generate_mac() {
|
|||||||
local phy="$1"
|
local phy="$1"
|
||||||
local id="${macidx:-0}"
|
local id="${macidx:-0}"
|
||||||
|
|
||||||
wdev_tool "$phy" get_macaddr id=$id num_global=$num_global_macaddr
|
wdev_tool "$phy" get_macaddr id=$id num_global=$num_global_macaddr mbssid=$multiple_bssid
|
||||||
}
|
}
|
||||||
|
|
||||||
get_board_phy_name() (
|
get_board_phy_name() (
|
||||||
@ -1042,7 +1043,7 @@ drv_mac80211_setup() {
|
|||||||
txpower \
|
txpower \
|
||||||
rxantenna txantenna \
|
rxantenna txantenna \
|
||||||
frag rts beacon_int:100 htmode \
|
frag rts beacon_int:100 htmode \
|
||||||
num_global_macaddr:1
|
num_global_macaddr:1 multiple_bssid:0
|
||||||
json_get_values basic_rate_list basic_rate
|
json_get_values basic_rate_list basic_rate
|
||||||
json_get_values scan_list scan_list
|
json_get_values scan_list scan_list
|
||||||
json_select ..
|
json_select ..
|
||||||
|
Loading…
Reference in New Issue
Block a user