Questions on 802.11u and HotSpot 2.0

Shyam shyamms2003
Wed Aug 28 00:12:00 PDT 2013


Hi Ben,
Pls find my responses inline per my knowledge.

Message: 3
Date: Tue, 27 Aug 2013 07:22:36 -0700
From: Ben Greear <greearb at candelatech.com>
Subject: Questions on 802.11u and HotSpot 2.0
To: "hostap at lists.shmoo.com" <hostap at lists.shmoo.com>
Message-ID: <521CB62C.1040007 at candelatech.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

First, thanks for the detailed HotSpot 2.0 readme.

I do have a few questions after reading this.

1)  Is it ever valid to enable hs20 and NOT enable the 802.11u interworking?
     I think the answer is no, but I haven't seen any explicit answer in
the docs.
[Shyam:] It is needed to have interworking eabled for HS20, think as hs20
being an extension to 11u interworking.
2)  How complete is the current 802.11u & HS20 implementation in
wpa_supplicant and
     hostapd?  Any known limitations that still need some work?
[Shyam:] the wpa_supplicant  now supports all the types/subtypes that is
speced
as per the Phase 1 spec.
3)  When I enabled 802.11u in hostapd, I see a brief mention that
Interworking is enabled
     in the 'iw' scan results, but I do not see any details.  Is that a
limitation in 'iw'
     or would I need to somehow get that info from supplicant instead?
[Shyam:] The scan results indicate that a certain BSS supports hs20. there
are spelt out commands like anqp_get which needs to be used on a bss with
the right subtype to fetch more information.
Thanks,
Ben


On Tue, Aug 27, 2013 at 9:30 PM, <hostap-request at lists.shmoo.com> wrote:

> Send HostAP mailing list submissions to
>         hostap at lists.shmoo.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.shmoo.com/mailman/listinfo/hostap
> or, via email, send a message with subject or body 'help' to
>         hostap-request at lists.shmoo.com
>
> You can reach the person managing the list at
>         hostap-owner at lists.shmoo.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of HostAP digest..."
>
>
> Today's Topics:
>
>    1. Re: [PATCH 0/3] hostapd: introduce Automatic Channel
>       Selection (ACS) (Michal Kazior)
>    2. After installing hosapd what else do I need to install or
>       configure to make rt5370 an AP? (???)
>    3. Questions on 802.11u and HotSpot 2.0 (Ben Greear)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Aug 2013 10:34:16 +0200
> From: Michal Kazior <michal.kazior at tieto.com>
> Subject: Re: [PATCH 0/3] hostapd: introduce Automatic Channel
>         Selection (ACS)
> To: "hostap at lists.shmoo.com" <hostap at lists.shmoo.com>
> Message-ID:
>         <CA+BoTQkZ8gU7tZTgfSp9AXWSmARL4ci7yGzWaCZGhLHm=
> O_fAg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On 23 August 2013 09:19, Michal Kazior <michal.kazior at tieto.com> wrote:
> > Hi,
> >
> > This is an attempt at ressurecting ACS effort for hostapd.
> >
> > This is based on the work done by Luis R. Rodriguez
> > <lrodriguez at qca.qualcomm.com>.
> >
> > I've rebased and improved the patchset. Notable changes:
> >
> >  * Interference factor calculation has been modified.
> >
> >    The formula now includes the relative channel noise floor so a
> channel with
> >    lower noise floor should be preferred in case channel load evaluates
> to 0.
> >
> >    The formula now spits out positive values that can be summed up,
> which is
> >    needed for:
> >
> >  * Overlapping/primary/secondary channels are all used when calculating
> total
> >    intereference factor for a given connection type (2.4Ghz, HT40,
> VHT80).
> >    This most likely still needs tuning but it's a good start I think.
> >
> > RFC v2:
> >  * remain-on-channel replaced in favour of scan-based survey data
> gathering
> >    (hostapd: Add offchannel support -- dropped)
> >
> >  * chan_time scan parameter patch is introduced
> >
> >  * tested with ath9k and ath10k
> >
> > RFC v3:
> >  * chan_time patch is dropped in favour of doing a couple of passive
> scans
> >    this should still allow gathering enough data for ACS
> >
> >  * lots of cleanups and some small fixes
> >
> >  * trimmed down main ACS patch commit message
> >    all details are already in code comments or on wiki page [1]
> >
> > PATCH v1:
> >  * rebased on latest master branch
> >
> > The following link is a git patchbomb that has all 3 patches in case the
> > mailing list server decides to spam-block my patchset.
> >
> >   http://ix.io/7vF
> >
> > You can refer to wireless wiki page [1] for more info.
> >
> >
> > Pozdrawiam / Best regards,
> > Michal Kazior.
> >
> > [1]: http://wireless.kernel.org/en/users/Documentation/acs
> >
> > Michal Kazior (3):
> >   hostapd: Split up channel checking into helpers
> >   hostapd: Add survey dump support
> >   hostapd: Add Automatic Channel Selection (ACS) support
> >
> >  hostapd/Makefile             |    6 +
> >  hostapd/config_file.c        |   24 +-
> >  hostapd/defconfig            |   26 ++
> >  hostapd/hostapd.conf         |   20 ++
> >  src/ap/acs.c                 |  771
> ++++++++++++++++++++++++++++++++++++++++++
> >  src/ap/acs.h                 |   38 +++
> >  src/ap/ap_config.c           |    4 +
> >  src/ap/ap_config.h           |    4 +
> >  src/ap/ap_drv_ops.h          |   10 +
> >  src/ap/drv_callbacks.c       |   72 ++++
> >  src/ap/hostapd.c             |    5 +
> >  src/ap/hostapd.h             |   18 +
> >  src/ap/hw_features.c         |  204 +++++++----
> >  src/drivers/driver.h         |  109 +++++-
> >  src/drivers/driver_common.c  |    1 +
> >  src/drivers/driver_nl80211.c |  185 ++++++++++
> >  16 files changed, 1421 insertions(+), 76 deletions(-)
> >  create mode 100644 src/ap/acs.c
> >  create mode 100644 src/ap/acs.h
>
> Here's a PATCH v2 3/3 for this patchset.
>
>   http://ix.io/7Bz
>
> Since other patches have been applied and I'm unable to post such a
> big patch to the mailing list server I'm simply replying to the cover
> letter.
>
> PATCH v2:
>  * change message level of one wpa_printf
>  * zero scan_cb pointer upon scan completion
>  * update copyright notices (Jouni)
>
>
> Micha?.
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 27 Aug 2013 20:45:44 +0900
> From: ??? <journeyer at g2c.co.kr>
> Subject: After installing hosapd what else do I need to install or
>         configure       to make rt5370 an AP?
> To: hostap at lists.shmoo.com
> Message-ID:
>         <
> CAHgdBTKyM6bB5hi766_0m41gv3W1RgfGrNMQCAjm8i_hzqtofw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello list,
>
> As of today, maybe for about 2 weeks, I've compiled "openssl(1.0.1)",
> "libnl(1.1.4)" and "hostapd(0.7.3)" on uClinux(2.6.27) with the modules
> below.
>
> rt2800usb.ko
> rt2800lib.ko
> rt2x00usb.ko
> rt2x00lib.ko
> mac80211.ko
> cfg80211.ko
> compat.ko
> compat_wireless.ko
>
> My device is RT5370.
>
> So, now I can find the SSID I wrote on the hostapd.conf.
> But I didn't succeed to connect to my device with my android phone.
> Authentication fails until now.
>
> Now I wonder what else do I need to do more?
> >From quick search there are "brctl", "iw", "iwconfig" and "dhcpd".
> These seems to be the items I must prepare.
>
> I need to make my device(RT5370) an AP. And with this AP I must be able to
> provide a WLAN network in an area.
>
> Do I need to prepare(cross build and install) "brctl" and "dhcpd" to do
> this?
> I believe iw and iwconfig are not the must items.
>
> >From the failure to connect to the device, I learned I need brctl.... I am
> not sure, though...
>
> Could you please guide me how to do and what to do now?
>
> Thank you very much in advance!
>
> Sincerely
> Journeyer
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.shmoo.com/pipermail/hostap/attachments/20130827/97c118ab/attachment.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 27 Aug 2013 07:22:36 -0700
> From: Ben Greear <greearb at candelatech.com>
> Subject: Questions on 802.11u and HotSpot 2.0
> To: "hostap at lists.shmoo.com" <hostap at lists.shmoo.com>
> Message-ID: <521CB62C.1040007 at candelatech.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> First, thanks for the detailed HotSpot 2.0 readme.
>
> I do have a few questions after reading this.
>
> 1)  Is it ever valid to enable hs20 and NOT enable the 802.11u
> interworking?
>      I think the answer is no, but I haven't seen any explicit answer in
> the docs.
>
> 2)  How complete is the current 802.11u & HS20 implementation in
> wpa_supplicant and
>      hostapd?  Any known limitations that still need some work?
>
> 3)  When I enabled 802.11u in hostapd, I see a brief mention that
> Interworking is enabled
>      in the 'iw' scan results, but I do not see any details.  Is that a
> limitation in 'iw'
>      or would I need to somehow get that info from supplicant instead?
>
> Thanks,
> Ben
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
>
>
>
> ------------------------------
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
> End of HostAP Digest, Vol 124, Issue 27
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20130828/98caa343/attachment-0001.htm>



More information about the Hostap mailing list