P2P: Enable 40 MHz support for autonomous P2P group addition

Add optional "ht40" argument for p2p_group_add command to enable 40 MHz
in 5GHz band. This configures the secondary channel, when HT support is
enabled and if the HW supports 40 MHz channel width.

Signed-hostap: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
This commit is contained in:
Rajkumar Manoharan 2012-08-15 22:53:01 +03:00 committed by Jouni Malinen
parent 931228aa10
commit 7aeac98509
8 changed files with 70 additions and 19 deletions

View file

@ -364,6 +364,8 @@ struct wpa_ssid {
*/
int frequency;
int ht40;
/**
* wpa_ptk_rekey - Maximum lifetime for PTK in seconds
*