qca-wifi: cleanup of redundant code under HOST_SW_TSO_ENABLE
Cleanup of redundant code under HOST_SW_TSO_ENABLE macro Change-Id: I1aaa0ef3f55649ef3235d0bd2baeb524f6ad027f
This commit is contained in:
@@ -347,10 +347,10 @@ enum {
|
|||||||
IEEE80211_PARAM_VAP_TX_ENCAP_TYPE = 343,
|
IEEE80211_PARAM_VAP_TX_ENCAP_TYPE = 343,
|
||||||
IEEE80211_PARAM_VAP_RX_DECAP_TYPE = 344,
|
IEEE80211_PARAM_VAP_RX_DECAP_TYPE = 344,
|
||||||
#endif /* ATH_PERF_PWR_OFFLOAD */
|
#endif /* ATH_PERF_PWR_OFFLOAD */
|
||||||
#if (HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE)
|
#if HOST_SW_TSO_SG_ENABLE
|
||||||
IEEE80211_PARAM_TSO_STATS = 345, /* Get TSO Stats */
|
IEEE80211_PARAM_TSO_STATS = 345, /* Get TSO Stats */
|
||||||
IEEE80211_PARAM_TSO_STATS_RESET = 346, /* Reset TSO Stats */
|
IEEE80211_PARAM_TSO_STATS_RESET = 346, /* Reset TSO Stats */
|
||||||
#endif /* HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE */
|
#endif /* HOST_SW_TSO_SG_ENABLE */
|
||||||
#if RX_CHECKSUM_OFFLOAD
|
#if RX_CHECKSUM_OFFLOAD
|
||||||
IEEE80211_PARAM_RX_CKSUM_ERR_STATS = 349, /* Get RX CKSUM Err Stats */
|
IEEE80211_PARAM_RX_CKSUM_ERR_STATS = 349, /* Get RX CKSUM Err Stats */
|
||||||
IEEE80211_PARAM_RX_CKSUM_ERR_RESET = 350, /* Reset RX CKSUM Err Stats */
|
IEEE80211_PARAM_RX_CKSUM_ERR_RESET = 350, /* Reset RX CKSUM Err Stats */
|
||||||
@@ -1677,7 +1677,7 @@ struct vendor_commands vap_vendor_cmds[] = {
|
|||||||
{"decap_type", IEEE80211_PARAM_VAP_RX_DECAP_TYPE, SET_PARAM, 1},
|
{"decap_type", IEEE80211_PARAM_VAP_RX_DECAP_TYPE, SET_PARAM, 1},
|
||||||
{"get_decap_type", IEEE80211_PARAM_VAP_RX_DECAP_TYPE, GET_PARAM, 0},
|
{"get_decap_type", IEEE80211_PARAM_VAP_RX_DECAP_TYPE, GET_PARAM, 0},
|
||||||
#endif
|
#endif
|
||||||
#if (HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE)
|
#if HOST_SW_TSO_SG_ENABLE
|
||||||
{"get_tso_stats", IEEE80211_PARAM_TSO_STATS, GET_PARAM, 0},
|
{"get_tso_stats", IEEE80211_PARAM_TSO_STATS, GET_PARAM, 0},
|
||||||
{"rst_tso_stats", IEEE80211_PARAM_TSO_STATS_RESET, GET_PARAM, 0},
|
{"rst_tso_stats", IEEE80211_PARAM_TSO_STATS_RESET, GET_PARAM, 0},
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user