[package] ppp:
[openwrt.git] / package / acx-mac80211 / patches / 002-tx_queue_stats_removal.patch
1 --- a/acx_func.h
2 +++ b/acx_func.h
3 @@ -714,7 +714,6 @@ int acx_e_op_set_key(struct ieee80211_hw
4 int acx_e_op_config(struct ieee80211_hw *hw, u32 changed);
5 void acx_e_op_bss_info_changed(struct ieee80211_hw *hw,
6 struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u32 changed);
7 -int acx_e_op_get_tx_stats(struct ieee80211_hw* ieee, struct ieee80211_tx_queue_stats *stats);
8 int acx_e_conf_tx(struct ieee80211_hw* ieee, u16 queue,
9 const struct ieee80211_tx_queue_params *params);
10 //int acx_passive_scan(struct net_device *net_dev, int state, struct ieee80211_scan_conf *conf);
11 --- a/common.c
12 +++ b/common.c
13 @@ -4662,24 +4662,6 @@ extern void acx_e_op_bss_info_changed(st
14 return;
15 }
16
17 -int acx_e_op_get_tx_stats(struct ieee80211_hw *hw,
18 - struct ieee80211_tx_queue_stats *stats)
19 -{
20 - acx_device_t *adev = ieee2adev(hw);
21 - int err = -ENODEV;
22 -
23 - FN_ENTER;
24 - acx_sem_lock(adev);
25 -
26 - stats->len = 0;
27 - stats->limit = TX_CNT;
28 - stats->count = 0;
29 -
30 - acx_sem_unlock(adev);
31 - FN_EXIT0;
32 - return err;
33 -}
34 -
35 int acx_e_conf_tx(struct ieee80211_hw *hw,
36 u16 queue, const struct ieee80211_tx_queue_params *params)
37 {
38 --- a/mem.c
39 +++ b/mem.c
40 @@ -2321,7 +2321,6 @@ static const struct ieee80211_ops acxmem
41 .bss_info_changed = acx_e_op_bss_info_changed,
42 .set_key = acx_e_op_set_key,
43 .get_stats = acx_e_op_get_stats,
44 - .get_tx_stats = acx_e_op_get_tx_stats,
45 };
46
47
48 --- a/pci.c
49 +++ b/pci.c
50 @@ -1482,7 +1482,6 @@ static const struct ieee80211_ops acxpci
51 .bss_info_changed = acx_e_op_bss_info_changed,
52 .set_key = acx_e_op_set_key,
53 .get_stats = acx_e_op_get_stats,
54 - .get_tx_stats = acx_e_op_get_tx_stats,
55 };
56
57
58 --- a/usb.c
59 +++ b/usb.c
60 @@ -757,7 +757,6 @@ static const struct ieee80211_ops acxusb
61 .bss_info_changed = acx_e_op_bss_info_changed,
62 .set_key = acx_e_op_set_key,
63 .get_stats = acx_e_op_get_stats,
64 - .get_tx_stats = acx_e_op_get_tx_stats,
65 };
66
67 /***********************************************************************
This page took 0.043374 seconds and 5 git commands to generate.