[PATCH] hostapd: Advertise OBSS scan params based on driver capability

Rajkumar Manoharan rmanohar
Tue May 6 11:52:35 PDT 2014


On Tue, May 06, 2014 at 09:49:57AM -0700, Paul Stewart wrote:
>    On Tue, May 6, 2014 at 9:32 AM, Rajkumar Manoharan
>    <rmanohar at qti.qualcomm.com> wrote:
> 
>      On Tue, May 06, 2014 at 08:02:49AM -0700, Paul Stewart wrote:
>      >      diff --git a/src/ap/ieee802_11_ht.c b/src/ap/ieee802_11_ht.c
>      >      index c0a7cd4..7020858 100644
>      >      --- a/src/ap/ieee802_11_ht.c
>      >      +++ b/src/ap/ieee802_11_ht.c
>      >      @@ -46,7 +46,8 @@ u8 * hostapd_eid_ht_capabilities(struct
>      hostapd_data
>      >      *hapd, u8 *eid)
>      >
>      >              pos += sizeof(*cap);
>      >
>      >      -       if (hapd->iconf->obss_interval) {
>      >      +       if (hapd->iconf->obss_interval &&
>      >      +           (hapd->iface->drv_flags &
>      WPA_DRIVER_FLAGS_HT_2040_COEX)) {
> 
>    This is an example of the concern I was bringing up.  This conditional
>    will trigger only if the driver flags contain
>     WPA_DRIVER_FLAGS_HT_2040_COEX.  I'd like to be able to include this IE
>    for testing purposes even if the driver doesn't support this flag.
Hmm... I am not sure whether it is correct to set default based on
device capability. For WFA testing, there is no configuration steps for OBSS
scan interval and the expectation is that AP should advertise OBSS scan
param by default.

-Rajkumar



More information about the Hostap mailing list