qcacld-3.0: maintain the backward compatibility for svc events

qcacld-2.0 to qcacld-3.0 propagation

Add radio index at the end of wlan svc msg in TLV format inorder
to maintain the backward compatibility with user space application
like wlan_services and cnss_daemon.

Change-Id: If578d66eada17784eef7daafa7351df95fc74f5a
CRs-Fixed: 1019664
(cherry picked from commit 6a1d4b9d33b10ed50990efc825e530e020661153)
(cherry picked from commit 53627e3d41d55a9d71889443daa2ab769227c170)
Этот коммит содержится в:
Kondabattini, Ganesh
2016-09-02 23:12:15 +05:30
коммит произвёл qcabuildsw
родитель 724f63df4b
Коммит 96ac37b226
7 изменённых файлов: 72 добавлений и 15 удалений

Просмотреть файл

@@ -84,6 +84,7 @@
#define WLAN_SVC_RPS_ENABLE_IND 0x10A
#define WLAN_SVC_WLAN_TP_TX_IND 0x10B
#define WLAN_SVC_WLAN_AUTO_SHUTDOWN_CANCEL_IND 0x10C
#define WLAN_SVC_WLAN_RADIO_INDEX 0x10D
#define WLAN_SVC_MAX_SSID_LEN 32
#define WLAN_SVC_MAX_BSSID_LEN 6
#define WLAN_SVC_MAX_STR_LEN 16
@@ -117,6 +118,12 @@ typedef struct sAniNlMsg {
tAniHdr wmsg; /* Airgo Message Header */
} tAniNlHdr;
struct radio_index_tlv {
unsigned short type;
unsigned short length;
int radio;
};
struct wlan_status_data {
uint8_t lpss_support;
uint8_t is_on;