update acx-mac80211 to a newer snapshot and fix its compilation wrt new includes...
[openwrt/staging/wigyori.git] / package / acx-mac80211 / patches / 002-tx_queue_stats_removal.patch
1 Index: acx-mac80211-20100302/acx_func.h
2 ===================================================================
3 --- acx-mac80211-20100302.orig/acx_func.h 2010-03-06 13:01:36.000000000 +0100
4 +++ acx-mac80211-20100302/acx_func.h 2010-03-06 13:01:56.000000000 +0100
5 @@ -714,7 +714,6 @@
6 int acx_e_op_config(struct ieee80211_hw *hw, u32 changed);
7 void acx_e_op_bss_info_changed(struct ieee80211_hw *hw,
8 struct ieee80211_vif *vif, struct ieee80211_bss_conf *info, u32 changed);
9 -int acx_e_op_get_tx_stats(struct ieee80211_hw* ieee, struct ieee80211_tx_queue_stats *stats);
10 int acx_e_conf_tx(struct ieee80211_hw* ieee, u16 queue,
11 const struct ieee80211_tx_queue_params *params);
12 //int acx_passive_scan(struct net_device *net_dev, int state, struct ieee80211_scan_conf *conf);
13 Index: acx-mac80211-20100302/common.c
14 ===================================================================
15 --- acx-mac80211-20100302.orig/common.c 2010-03-06 13:01:38.000000000 +0100
16 +++ acx-mac80211-20100302/common.c 2010-03-06 13:02:37.000000000 +0100
17 @@ -4662,24 +4662,6 @@
18 return;
19 }
20
21 -int acx_e_op_get_tx_stats(struct ieee80211_hw *hw,
22 - struct ieee80211_tx_queue_stats *stats)
23 -{
24 - acx_device_t *adev = ieee2adev(hw);
25 - int err = -ENODEV;
26 -
27 - FN_ENTER;
28 - acx_sem_lock(adev);
29 -
30 - stats->len = 0;
31 - stats->limit = TX_CNT;
32 - stats->count = 0;
33 -
34 - acx_sem_unlock(adev);
35 - FN_EXIT0;
36 - return err;
37 -}
38 -
39 int acx_e_conf_tx(struct ieee80211_hw *hw,
40 u16 queue, const struct ieee80211_tx_queue_params *params)
41 {
42 Index: acx-mac80211-20100302/mem.c
43 ===================================================================
44 --- acx-mac80211-20100302.orig/mem.c 2010-03-06 13:01:46.000000000 +0100
45 +++ acx-mac80211-20100302/mem.c 2010-03-06 13:02:28.000000000 +0100
46 @@ -2321,7 +2321,6 @@
47 .bss_info_changed = acx_e_op_bss_info_changed,
48 .set_key = acx_e_op_set_key,
49 .get_stats = acx_e_op_get_stats,
50 - .get_tx_stats = acx_e_op_get_tx_stats,
51 };
52
53
54 Index: acx-mac80211-20100302/pci.c
55 ===================================================================
56 --- acx-mac80211-20100302.orig/pci.c 2010-03-06 13:01:40.000000000 +0100
57 +++ acx-mac80211-20100302/pci.c 2010-03-06 13:02:18.000000000 +0100
58 @@ -1482,7 +1482,6 @@
59 .bss_info_changed = acx_e_op_bss_info_changed,
60 .set_key = acx_e_op_set_key,
61 .get_stats = acx_e_op_get_stats,
62 - .get_tx_stats = acx_e_op_get_tx_stats,
63 };
64
65
66 Index: acx-mac80211-20100302/usb.c
67 ===================================================================
68 --- acx-mac80211-20100302.orig/usb.c 2010-03-06 13:01:44.000000000 +0100
69 +++ acx-mac80211-20100302/usb.c 2010-03-06 13:02:22.000000000 +0100
70 @@ -757,7 +757,6 @@
71 .bss_info_changed = acx_e_op_bss_info_changed,
72 .set_key = acx_e_op_set_key,
73 .get_stats = acx_e_op_get_stats,
74 - .get_tx_stats = acx_e_op_get_tx_stats,
75 };
76
77 /***********************************************************************