[PATCH 1/2] p2p: disable 11b rates only on p2p interface creation

Jouni Malinen j
Sat Sep 10 12:26:11 PDT 2011

On Sat, Sep 03, 2011 at 10:21:50PM +0530, Rajkumar Manoharan wrote:
> 11b rates are disabled blindly during p2p init based on driver
> capability. This prevents use of CCK rates where p2p is not in
> use. This patch disables 11b rates during the p2p interface
> setup and also removes the disable_11b from global.

Unfortunately, this does not resolve the problem when the initial
interface is used for any P2P operations (which is the case almost
always). The Probe Request and Probe Response frames can be sent at CCK
rates if this patch were applied. In addition, the Action frames sent
with NL80211_CMD_FRAME could go out at CCK rates.

I would assume that NL80211_CMD_TRIGGER_SCAN and NL80211_CMD_FRAME could
be addressed by adding a new attribute to describe limitation for TX
rate selection. For Probe Response frames, this could potentially be
done with NL80211_CMD_REMAIN_ON_CHANNEL since the issue shows up only in
P2P Listen state (GO would be running with P2P iftype, so it would still
get the full 11b disabling with this patch).

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list