[PATCH 2/2] p2p: Use scan supported rate attr for p2p probing
rmanohar at qca.qualcomm.com
Sun Sep 11 10:41:11 EDT 2011
On Sat, Sep 10, 2011 at 10:45:07PM +0300, Jouni Malinen wrote:
> On Sat, Sep 03, 2011 at 10:21:51PM +0530, Rajkumar Manoharan wrote:
> > This patch ensures that p2p probing does not use
> > 11b rates by setting supported rates in the scan
> > attributes.
> Even though I did not apply the first patch, I ended up applying this
> since it is a step towards better design for disabling 802.11b rates for
> P2P use cases.
> > diff --git a/wpa_supplicant/mlme.c b/wpa_supplicant/mlme.c
> > @@ -2864,8 +2864,8 @@ int ieee80211_sta_req_scan(struct wpa_supplicant *wpa_s,
> > - wpa_s->mlme.scan_skip_11b = 1; /* FIX: clear this is 11g is not
> > - * supported */
> > + if (params->p2p_probe)
> > + wpa_s->mlme.scan_skip_11b = 1;
> Though, I dropped this part since it has nothing to do with P2P and is
> still needed.
No. It can be dropped.
More information about the HostAP