qcacmn: Add CDP api to set rx_pkt_enable,tx_pkt_enable for a peer
Since tx_monitor mode and rx_monitor mode consume signficant MIPS when enabled on a per-peer basis, new requirement is to enable such functionality on a per-peer basis. New CDP APIs are added to set these per-peer parameters. CRs-Fixed: 2494471 Change-Id: Ib44845ec98481cc4df36c30f47335522e5274568
Cette révision appartient à :
@@ -274,4 +274,17 @@ void dp_peer_multipass_list_init(struct dp_vdev *vdev);
|
||||
void dp_peer_multipass_list_remove(struct dp_peer *peer);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* dp_peer_update_pkt_capture_params: Set Rx & Tx Capture flags for a peer
|
||||
* @is_rx_pkt_cap_enable: enable/disable Rx packet capture in monitor mode
|
||||
* @is_tx_pkt_cap_enable: enable/disable Tx packet capture in monitor mode
|
||||
* @peer_mac: MAC address for which the above need to be enabled/disabled
|
||||
*
|
||||
* Return: Success if Rx & Tx capture is enabled for peer, false otherwise
|
||||
*/
|
||||
QDF_STATUS
|
||||
dp_peer_update_pkt_capture_params(struct cdp_pdev *pdev,
|
||||
bool is_rx_pkt_cap_enable,
|
||||
bool is_tx_pkt_cap_enable,
|
||||
uint8_t *peer_mac);
|
||||
#endif /* _DP_PEER_H_ */
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur