Kaynağa Gözat

qcacld-3.0: Fix p2p group info missed in probe response

qcacld-2.0 to qcacld-3.0 propagation

The p2p group info or p2p IE missed in probe response is because genie
len is limited to 255 bytes. It will be fine if supplicant send down
only p2p IE. But if supplicant send down WPS ie and p2p ie in same time,
buffer is overflowed and p2p ie will not be added to frame.

CRs-Fixed: 959456
Change-Id: I8125bc186e6372f46cd1978fd82fe1b907cdaec4
Hong Shi 8 yıl önce
ebeveyn
işleme
ab2dfcf20c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      core/hdd/inc/wlan_hdd_main.h

+ 1 - 1
core/hdd/inc/wlan_hdd_main.h

@@ -159,7 +159,7 @@
 /** Mac Address string **/
 #define MAC_ADDRESS_STR "%02x:%02x:%02x:%02x:%02x:%02x"
 #define MAC_ADDRESS_STR_LEN 18  /* Including null terminator */
-#define MAX_GENIE_LEN 255
+#define MAX_GENIE_LEN 512
 
 #define WLAN_CHIP_VERSION   "WCNSS"