qcacmn: Skip special frame rate info update

To avoid unmeaningful rate fluctuation, when report
rx linkspeed to upper layer, exclude special frames:
arp/ssdp/dhcp/eapol/ipv6 NA/NS/DHCPV6 in low rate.

Change-Id: I4bc49a808a02b4bc8c687f70690922045d65e739
CRs-Fixed: 3198484
This commit is contained in:
jinbliu
2022-06-17 01:24:34 -07:00
committed by Madan Koyyalamudi
부모 1702cefb57
커밋 a8f2b81354
7개의 변경된 파일231개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@@ -1513,6 +1513,10 @@ struct ol_if_ops {
* @set_tx_flush_pending: Configures the ac/tid to be flushed and policy
* to flush.
*
* set_bus_vote_lvl_high: The bus lvl is set to high or low based on tput
* get_bus_vote_lvl_high: Get bus lvl to determine whether or not get
* rx rate stats
*
* Function pointers for miscellaneous soc/pdev/vdev related operations.
*/
struct cdp_misc_ops {
@@ -1610,6 +1614,10 @@ struct cdp_misc_ops {
uint8_t ac, uint32_t tid,
enum cdp_peer_txq_flush_policy policy);
#endif
#ifdef FEATURE_RX_LINKSPEED_ROAM_TRIGGER
void (*set_bus_vote_lvl_high)(struct cdp_soc_t *soc_hdl, bool high);
bool (*get_bus_vote_lvl_high)(struct cdp_soc_t *soc_hdl);
#endif
};
/**