qcacld-3.0: Enable legacy MC/BC filtering
Compile MC/BC filtering feature without WLAN_FEATURE_PACKET_FILTERING feature Change-Id: I783e3a04c148dab493f762f9cf2d55e4975e2b02 CRs-Fixed: 2328317
This commit is contained in:
parent
4079b4b464
commit
b763144737
@ -1119,12 +1119,10 @@ struct hdd_scan_info {
|
||||
|
||||
#define WLAN_HDD_MAX_MC_ADDR_LIST CFG_TGT_MAX_MULTICAST_FILTER_ENTRIES
|
||||
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
struct hdd_multicast_addr_list {
|
||||
uint8_t mc_cnt;
|
||||
uint8_t addr[WLAN_HDD_MAX_MC_ADDR_LIST][ETH_ALEN];
|
||||
};
|
||||
#endif
|
||||
|
||||
#define WLAN_HDD_MAX_HISTORY_ENTRY 10
|
||||
|
||||
@ -1368,9 +1366,7 @@ struct hdd_adapter {
|
||||
#endif /* WLAN_FEATURE_TSF_PLUS */
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
struct hdd_multicast_addr_list mc_addr_list;
|
||||
#endif
|
||||
uint8_t addr_filter_pattern;
|
||||
|
||||
bool survey_idx;
|
||||
|
@ -3567,7 +3567,6 @@ void wlan_hdd_release_intf_addr(struct hdd_context *hdd_ctx,
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
/**
|
||||
* __hdd_set_multicast_list() - set the multicast address list
|
||||
* @dev: Pointer to the WLAN device.
|
||||
@ -3678,7 +3677,6 @@ static void hdd_set_multicast_list(struct net_device *dev)
|
||||
__hdd_set_multicast_list(dev);
|
||||
cds_ssr_unprotect(__func__);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* hdd_select_queue() - used by Linux OS to decide which queue to use first
|
||||
@ -3712,9 +3710,7 @@ static const struct net_device_ops wlan_drv_ops = {
|
||||
.ndo_do_ioctl = hdd_ioctl,
|
||||
.ndo_set_mac_address = hdd_set_mac_address,
|
||||
.ndo_select_queue = hdd_select_queue,
|
||||
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
||||
.ndo_set_rx_mode = hdd_set_multicast_list,
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef FEATURE_MONITOR_MODE_SUPPORT
|
||||
|
Loading…
Reference in New Issue
Block a user