Setting hw_mode with some specific options (b&g mode, n mode onlyetc.) through hostapd
Valeriy Kucherenko
darkside_ua
Fri Mar 2 03:55:17 PST 2012
Hello, see comments below.
> Dear all,
>
> I am using hostapd 0.7.3 stable release as make atherose based (having
> ar9287 chipset) wifi module in AP and other settings.
You'd better to compile hostapd from sources (trunk or release candidate) if you want to use n-mode. As I remember 0.7.3 works bad in N.
>
> Acually, i want to set the module's hw_mode(Network mode) with some
> options as listed bellow.
>
> 1) b only mode
> 2) g only mode
> 3) n only mode
> 4) b&g mode
> 5) b&n mode
> 6) g&n mode
> 7) mixed (b/g&n) mode
>
> i have referred hostapd.conf and as per my knowledge, i think it can
> allow to set options as bellow listed modes.
>
> 1) b only mode [by hw_mode=b and ieee80211n=0]
Yes.
> 2) g only mode [by hw_mode=g and ieee80211n=0]
Yes.
>
> 5) b&n mode [by hw_mode=b and ieee80211n=1]
Yes.
> 6) g&n mode [by hw_mode=g and ieee80211n=1]
Yes.
>
> If, i am correct?
>
> and also, how to set rest of options, like
> 3) n only mode
n-mode works on top of b/g-mode, so you can not enable just "n". Also you can play with ht_capab parameter, for ex to use HT40 mode.
I'm currently use ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC1] with TP-Link TL-WN851N (ar9xxx chip).
> 4) b&g mode
> 7) mixed (b/g&n) mode
Can't give an answer to you about b-mode, it's a bit old and I never used it.
>
> Thanks,
> Darshan Prajapati.
>
>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
More information about the Hostap
mailing list