diff options
| author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | 2018-01-18 15:14:58 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2018-01-22 22:47:45 -0800 |
| commit | eaada88273f8b4ffa85e12f54a5e797890960cca (patch) | |
| tree | 5824a1f01ded432ff4e5d296fc7f76045d4d7403 | |
| parent | 5b3aa9322d15965b52c6b4c82e359728167dd734 (diff) | |
qcacld-3.0: Add host support to send MAC address to Supplicant
Currently remote OUI is not getting updated when get station info
is done in STA case.
Add support to send AP MAC address to upper layer, upper layer can
use this MAC to derive OUI information of the AP.
Change-Id: I2091f47c2f0d605969c047663e266992e631484b
CRs-Fixed: 2174523
| -rw-r--r-- | core/hdd/src/wlan_hdd_cfg80211.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 5ecd3a2639fd..345ee0da2e6e 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -3793,6 +3793,10 @@ hdd_add_link_standard_info(struct sk_buff *skb, hdd_err("put fail"); goto fail; } + if (nla_put(skb, NL80211_ATTR_MAC, QDF_MAC_ADDR_SIZE, + hdd_sta_ctx->conn_info.bssId.bytes)) { + goto fail; + } if (hdd_add_survey_info(skb, hdd_sta_ctx, NL80211_ATTR_SURVEY_INFO)) goto fail; if (hdd_add_sta_info(skb, hdd_sta_ctx, NL80211_ATTR_STA_INFO)) @@ -3859,6 +3863,7 @@ static int hdd_get_station_info(hdd_context_t *hdd_ctx, nl_buf_len = NLMSG_HDRLEN; nl_buf_len += sizeof(hdd_sta_ctx->conn_info.last_ssid.SSID.length) + + QDF_MAC_ADDR_SIZE + sizeof(hdd_sta_ctx->conn_info.freq) + sizeof(hdd_sta_ctx->conn_info.noise) + sizeof(hdd_sta_ctx->conn_info.signal) + |
