I need to deny 802.11b rates, and allow only 802.11g and 802.11n rates.
My config:
name="wlan1" mtu=1500 interface-type=Atheros 11N mode=ap-bridge ssid="test" area="" frequency-mode=manual-txpower country=russia antenna-gain=0 frequency=2472 band=2ghz-b/g/n
scan-list=default rate-set=configured supported-rates-b="" supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps
basic-rates-b="" basic-rates-a/g=6Mbps max-station-count=100 ack-timeout=dynamic tx-power=3 tx-power-mode=card-rates periodic-calibration=default
periodic-calibration-interval=60 dfs-mode=none update-stats-interval=disabled default-authentication=yes default-forwarding=no default-ap-tx-limit=0 default-client-tx-limit=0
proprietary-extensions=post-2.9.25 wmm-support=disabled hide-ssid=no security-profile=default disconnect-timeout=10s on-fail-retry-time=100ms
preamble-mode=both compression=no allow-sharedkey=no station-bridge-clone-mac=00:00:00:00:00:00 ht-ampdu-priorities=0 ht-guard-interval=any
ht-extension-channel=disabled
ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15
ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-txchains=0,1 ht-rxchains=0,1 ht-amsdu-limit=8192 ht-amsdu-threshold=8192
hw-retries=4 frame-lifetime=0 adaptive-noise-immunity=none hw-fragmentation-threshold=disabled hw-protection-mode=rts-cts
hw-protection-threshold=512 frequency-offset=0
With such a configuration can not be associated 802.11g adapters. The log error:
12:55:09 wireless,debug debug: wlan1: 00:17:9A:0A:54:F1 attempts to associate
12:55:09 wireless,debug debug: wlan1: 00:17:9A:0A:54:F1 incompatible HT mode or rates, reject
If I set the variable set band=2.4ghz-onlyg or rate-set=default, then the problem is not repeated. How can I restrict rate such a way that worked 11g and 11n adapters?