[PATCH] p2p: consult driver capabilities before setting HE bit in GO's conf

Jouni Malinen j at w1.fi
Sat Dec 21 01:51:16 PST 2024


On Wed, Aug 07, 2024 at 09:48:01PM +0000, Jintao Lin wrote:
> p2p_go_he could be set to 1 in the global config file while the device
> might only has a VHT WiFi nic. Consult driver capabilities before
> setting the HE bit for the GO's conf so that latter AP configuration
> does not fail due to wrong AP configuration, like
> hostapd_get_oper_centr_freq_seg0_idx. This config bit is checked and set
> in wpa_supplicant_conf_ap_ht. Thus there is no need to override this
> bit specifically for GO.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list