Browse Source

qcacmn: pass client mac address also to nac rssi API

Add client MAC address while calling upper layers to
configure NAC RSSI

Change-Id: Ib7b0140ee4d194fe86c37d862fc6024b61481011
Chaithanya Garrepalli 5 years ago
parent
commit
11b7ea2bc5
2 changed files with 4 additions and 2 deletions
  1. 3 1
      dp/inc/cdp_txrx_ops.h
  2. 1 1
      dp/wifi3.0/dp_main.c

+ 3 - 1
dp/inc/cdp_txrx_ops.h

@@ -980,7 +980,9 @@ struct ol_if_ops {
 		u_int8_t vdev_id, enum cdp_nac_param_cmd cmd, char *bssid,
 		char *client_macaddr, uint8_t chan_num);
 	int (*config_bssid_in_fw_for_nac_rssi)(struct wlan_objmgr_pdev *pdev,
-		u_int8_t vdev_id, enum cdp_nac_param_cmd cmd, char *bssid);
+					       u_int8_t vdev_id,
+					       enum cdp_nac_param_cmd cmd,
+					       char *bssid, char *client_mac);
 #endif
 	int (*peer_sta_kickout)(void *ctrl_pdev, uint8_t *peer_macaddr);
 

+ 1 - 1
dp/wifi3.0/dp_main.c

@@ -8546,7 +8546,7 @@ static QDF_STATUS dp_config_for_nac_rssi(struct cdp_vdev *vdev_handle,
 	if (soc->cdp_soc.ol_ops->config_bssid_in_fw_for_nac_rssi)
 		soc->cdp_soc.ol_ops->config_bssid_in_fw_for_nac_rssi
 			((void *)vdev->pdev->ctrl_pdev,
-			 vdev->vdev_id, cmd, bssid);
+			 vdev->vdev_id, cmd, bssid, client_macaddr);
 
 	return QDF_STATUS_SUCCESS;
 }