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

Paul Stewart pstew
Tue May 6 13:05:54 PDT 2014


On Tue, May 6, 2014 at 11:52 AM, Rajkumar Manoharan <
rmanohar at qti.qualcomm.com> wrote:

> 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.
>

I don't care so much what behavior is set by default.  I would just like
the ability to set it as necessary.  I don't mind that hostapd's default
behavior might be tuned to perform to WFA's specifications.  I just want to
be able to do my tests as well.  For example, there could be a special
value that obss_interval defaults to, which implies "defined by hardware
capability".  The config file can either disable OBSS by setting the value
explicitly to zero, or force OBSS by setting it to a non-zero value.


> -Rajkumar
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140506/f4d745a6/attachment.htm>



More information about the Hostap mailing list