ath.h (2f2cb326f9fb8eee6ebbe134261d39506f9fa59a) ath.h (ef8c00174a8738ea334197c0164143354644cb16)
1/*
2 * Copyright (c) 2008-2009 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 49 unchanged lines hidden (view full) ---

58
59enum ath_bus_type {
60 ATH_PCI,
61 ATH_AHB,
62 ATH_USB,
63};
64
65struct reg_dmn_pair_mapping {
1/*
2 * Copyright (c) 2008-2009 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 49 unchanged lines hidden (view full) ---

58
59enum ath_bus_type {
60 ATH_PCI,
61 ATH_AHB,
62 ATH_USB,
63};
64
65struct reg_dmn_pair_mapping {
66 u16 regDmnEnum;
66 u16 reg_domain;
67 u16 reg_5ghz_ctl;
68 u16 reg_2ghz_ctl;
69};
70
71struct ath_regulatory {
72 char alpha2[2];
73 u16 country_code;
74 u16 max_power_level;

--- 81 unchanged lines hidden (view full) ---

156 struct ath_regulatory regulatory;
157 struct ath_regulatory reg_world_copy;
158 const struct ath_ops *ops;
159 const struct ath_bus_ops *bus_ops;
160
161 bool btcoex_enabled;
162 bool disable_ani;
163 bool bt_ant_diversity;
67 u16 reg_5ghz_ctl;
68 u16 reg_2ghz_ctl;
69};
70
71struct ath_regulatory {
72 char alpha2[2];
73 u16 country_code;
74 u16 max_power_level;

--- 81 unchanged lines hidden (view full) ---

156 struct ath_regulatory regulatory;
157 struct ath_regulatory reg_world_copy;
158 const struct ath_ops *ops;
159 const struct ath_bus_ops *bus_ops;
160
161 bool btcoex_enabled;
162 bool disable_ani;
163 bool bt_ant_diversity;
164
165 int last_rssi;
166};
167
168struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,
169 u32 len,
170 gfp_t gfp_mask);
171bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr);
172
173void ath_hw_setbssidmask(struct ath_common *common);

--- 123 unchanged lines hidden ---
164};
165
166struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,
167 u32 len,
168 gfp_t gfp_mask);
169bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr);
170
171void ath_hw_setbssidmask(struct ath_common *common);

--- 123 unchanged lines hidden ---