Home
last modified time | relevance | path

Searched full:ieee (Results 1 – 25 of 836) sorted by relevance

12345678910>>...34

/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_softmac.c2 /* IEEE 802.11 SoftMAC layer
23 static void rtllib_sta_wakeup(struct rtllib_device *ieee, short nl);
34 static unsigned int rtllib_MFIE_rate_len(struct rtllib_device *ieee) in rtllib_MFIE_rate_len() argument
48 static void rtllib_MFIE_Brate(struct rtllib_device *ieee, u8 **tag_p) in rtllib_MFIE_Brate() argument
65 static void rtllib_MFIE_Grate(struct rtllib_device *ieee, u8 **tag_p) in rtllib_MFIE_Grate() argument
86 static void rtllib_WMM_Info(struct rtllib_device *ieee, u8 **tag_p) in rtllib_WMM_Info() argument
102 static void rtllib_TURBO_Info(struct rtllib_device *ieee, u8 **tag_p) in rtllib_TURBO_Info() argument
117 netdev_alert(ieee->dev, "This is enable turbo mode IE process\n"); in rtllib_TURBO_Info()
120 static void enqueue_mgmt(struct rtllib_device *ieee, struct sk_buff *skb) in enqueue_mgmt() argument
124 nh = (ieee->mgmt_queue_head + 1) % MGMT_QUEUE_NUM; in enqueue_mgmt()
[all …]
H A Drtllib_softmac_wx.c2 /* IEEE 802.11 SoftMAC layer
19 int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, in rtllib_wx_set_freq() argument
25 mutex_lock(&ieee->wx_mutex); in rtllib_wx_set_freq()
27 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_wx_set_freq()
47 if (ieee->active_channel_map[fwrq->m] != 1) { in rtllib_wx_set_freq()
51 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq()
52 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_wx_set_freq()
54 if (ieee->iw_mode == IW_MODE_ADHOC) in rtllib_wx_set_freq()
55 if (ieee->link_state == MAC80211_LINKED) { in rtllib_wx_set_freq()
56 rtllib_stop_send_beacons(ieee); in rtllib_wx_set_freq()
[all …]
H A Drtllib_module.c40 static inline int rtllib_networks_allocate(struct rtllib_device *ieee) in rtllib_networks_allocate() argument
42 if (ieee->networks) in rtllib_networks_allocate()
45 ieee->networks = kcalloc(MAX_NETWORK_COUNT, in rtllib_networks_allocate()
47 if (!ieee->networks) in rtllib_networks_allocate()
53 static inline void rtllib_networks_free(struct rtllib_device *ieee) in rtllib_networks_free() argument
55 if (!ieee->networks) in rtllib_networks_free()
57 kfree(ieee->networks); in rtllib_networks_free()
58 ieee->networks = NULL; in rtllib_networks_free()
61 static inline void rtllib_networks_initialize(struct rtllib_device *ieee) in rtllib_networks_initialize() argument
65 INIT_LIST_HEAD(&ieee->network_free_list); in rtllib_networks_initialize()
[all …]
H A Drtl819x_BAProc.c20 static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pBA) in deactivate_ba_entry() argument
26 static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) in tx_ts_delete_ba() argument
33 deactivate_ba_entry(ieee, pPendingBa); in tx_ts_delete_ba()
38 deactivate_ba_entry(ieee, pAdmittedBa); in tx_ts_delete_ba()
44 static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) in rx_ts_delete_ba() argument
50 deactivate_ba_entry(ieee, pBa); in rx_ts_delete_ba()
66 static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, in rtllib_ADDBA() argument
73 u16 len = ieee->tx_headroom + 9; in rtllib_ADDBA()
75 netdev_dbg(ieee->dev, "%s(): frame(%d) sentd to: %pM, ieee->dev:%p\n", in rtllib_ADDBA()
76 __func__, type, Dst, ieee->dev); in rtllib_ADDBA()
[all …]
H A Drtl819x_TSProc.c15 struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, in RxPktPendingTimeout() local
24 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
44 netdev_dbg(ieee->dev, in RxPktPendingTimeout()
47 ieee->stats_IndicateArray[index] = in RxPktPendingTimeout()
52 &ieee->RxReorder_Unused_List); in RxPktPendingTimeout()
64 netdev_warn(ieee->dev, in RxPktPendingTimeout()
67 spin_unlock_irqrestore(&(ieee->reorder_spinlock), in RxPktPendingTimeout()
71 rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout()
78 msecs_to_jiffies(ieee->ht_info->rx_reorder_pending_time) in RxPktPendingTimeout()
81 spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
[all …]
H A Drtl819x_HTProc.c70 void HTUpdateDefaultSetting(struct rtllib_device *ieee) in HTUpdateDefaultSetting() argument
72 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTUpdateDefaultSetting()
94 ieee->tx_dis_rate_fallback = 0; in HTUpdateDefaultSetting()
95 ieee->tx_use_drv_assinged_rate = 0; in HTUpdateDefaultSetting()
97 ieee->bTxEnableFwCalcDur = 1; in HTUpdateDefaultSetting()
106 static u16 HTMcsToDataRate(struct rtllib_device *ieee, u8 nMcsRate) in HTMcsToDataRate() argument
108 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTMcsToDataRate()
117 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate) in TxCountToDataRate() argument
142 bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) in IsHTHalfNmodeAPs() argument
145 struct rtllib_network *net = &ieee->current_network; in IsHTHalfNmodeAPs()
[all …]
H A Drtllib_rx.c39 static void rtllib_rx_mgt(struct rtllib_device *ieee, struct sk_buff *skb,
42 static inline void rtllib_monitor_rx(struct rtllib_device *ieee, in rtllib_monitor_rx() argument
47 skb->dev = ieee->dev; in rtllib_monitor_rx()
58 rtllib_frag_cache_find(struct rtllib_device *ieee, unsigned int seq, in rtllib_frag_cache_find() argument
65 entry = &ieee->frag_cache[tid][i]; in rtllib_frag_cache_find()
68 netdev_dbg(ieee->dev, in rtllib_frag_cache_find()
87 rtllib_frag_cache_get(struct rtllib_device *ieee, in rtllib_frag_cache_get() argument
117 skb = dev_alloc_skb(ieee->dev->mtu + in rtllib_frag_cache_get()
128 entry = &ieee->frag_cache[tid][ieee->frag_next_idx[tid]]; in rtllib_frag_cache_get()
129 ieee->frag_next_idx[tid]++; in rtllib_frag_cache_get()
[all …]
H A Drtllib_wx.c26 static inline char *rtl819x_translate_scan(struct rtllib_device *ieee, in rtl819x_translate_scan() argument
137 max_mcs = HTGetHighestMCSRate(ieee, ht_cap->MCS, in rtl819x_translate_scan()
219 int rtllib_wx_get_scan(struct rtllib_device *ieee, in rtllib_wx_get_scan() argument
231 netdev_dbg(ieee->dev, "Getting scan\n"); in rtllib_wx_get_scan()
232 mutex_lock(&ieee->wx_mutex); in rtllib_wx_get_scan()
233 spin_lock_irqsave(&ieee->lock, flags); in rtllib_wx_get_scan()
235 list_for_each_entry(network, &ieee->network_list, list) { in rtllib_wx_get_scan()
241 if (ieee->scan_age == 0 || in rtllib_wx_get_scan()
242 time_after(network->last_scanned + ieee->scan_age, jiffies)) in rtllib_wx_get_scan()
243 ev = rtl819x_translate_scan(ieee, ev, stop, network, in rtllib_wx_get_scan()
[all …]
H A Drtllib_tx.c97 * into N parts of size ieee->fts. The first fragment contains the SNAP header
102 * the case of WEP) So if you have 1500 bytes of payload with ieee->fts set to
157 int rtllib_encrypt_fragment(struct rtllib_device *ieee, struct sk_buff *frag, in rtllib_encrypt_fragment() argument
163 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_encrypt_fragment()
166 netdev_info(ieee->dev, "=========>%s(), crypt is null\n", in rtllib_encrypt_fragment()
174 /* Host-based IEEE 802.11 fragmentation for TX is not yet supported, so in rtllib_encrypt_fragment()
186 netdev_info(ieee->dev, "%s: Encryption failed: len=%d.\n", in rtllib_encrypt_fragment()
187 ieee->dev->name, frag->len); in rtllib_encrypt_fragment()
265 static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee, in rtllib_tx_query_agg_cap() argument
269 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_tx_query_agg_cap()
[all …]
H A Drtllib.h13 * Adaption to a generic IEEE 802.11 stack by James Ketrenos
429 #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
438 /* IEEE 802.11 defines */
577 /* IEEE 802.11 requires that STA supports concurrent reception of at least
1439 int ieee802_1x; /* is IEEE 802.1X used */
1684 u8 (*rtllib_ap_sec_type)(struct rtllib_device *ieee);
1834 int rtllib_encrypt_fragment(struct rtllib_device *ieee,
1842 int rtllib_rx(struct rtllib_device *ieee, struct sk_buff *skb,
1844 void rtllib_rx_probe_rq(struct rtllib_device *ieee,
1849 int rtllib_wx_get_scan(struct rtllib_device *ieee,
[all …]
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c2 /* IEEE 802.11 SoftMAC layer
40 static unsigned int ieee80211_MFIE_rate_len(struct ieee80211_device *ieee) in ieee80211_MFIE_rate_len() argument
44 if (ieee->modulation & IEEE80211_CCK_MODULATION) in ieee80211_MFIE_rate_len()
47 if (ieee->modulation & IEEE80211_OFDM_MODULATION) in ieee80211_MFIE_rate_len()
57 static void ieee80211_MFIE_Brate(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_MFIE_Brate() argument
61 if (ieee->modulation & IEEE80211_CCK_MODULATION) { in ieee80211_MFIE_Brate()
74 static void ieee80211_MFIE_Grate(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_MFIE_Grate() argument
78 if (ieee->modulation & IEEE80211_OFDM_MODULATION) { in ieee80211_MFIE_Grate()
95 static void ieee80211_WMM_Info(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_WMM_Info() argument
108 if (ieee->current_network.wmm_info & 0x80) in ieee80211_WMM_Info()
[all …]
H A Dieee80211_softmac_wx.c2 /* IEEE 802.11 SoftMAC layer
30 int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a, in ieee80211_wx_set_freq() argument
36 mutex_lock(&ieee->wx_mutex); in ieee80211_wx_set_freq()
38 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_wx_set_freq()
65 if (!(GET_DOT11D_INFO(ieee)->channel_map)[fwrq->m]) { in ieee80211_wx_set_freq()
69 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq()
70 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq()
72 if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER) in ieee80211_wx_set_freq()
73 if (ieee->state == IEEE80211_LINKED) { in ieee80211_wx_set_freq()
74 ieee80211_stop_send_beacons(ieee); in ieee80211_wx_set_freq()
[all …]
H A Dieee80211_module.c46 static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee) in ieee80211_networks_allocate() argument
48 if (ieee->networks) in ieee80211_networks_allocate()
51 ieee->networks = kcalloc(MAX_NETWORK_COUNT, in ieee80211_networks_allocate()
54 if (!ieee->networks) { in ieee80211_networks_allocate()
55 netdev_warn(ieee->dev, "Out of memory allocating beacons\n"); in ieee80211_networks_allocate()
62 static inline void ieee80211_networks_free(struct ieee80211_device *ieee) in ieee80211_networks_free() argument
64 if (!ieee->networks) in ieee80211_networks_free()
66 kfree(ieee->networks); in ieee80211_networks_free()
67 ieee->networks = NULL; in ieee80211_networks_free()
70 static inline void ieee80211_networks_initialize(struct ieee80211_device *ieee) in ieee80211_networks_initialize() argument
[all …]
H A Drtl819x_TSProc.c29 …struct ieee80211_device *ieee = container_of(pRxTs, struct ieee80211_device, RxTsRecord[pRxTs->num… in RxPktPendingTimeout() local
38 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
55 ieee->stats_IndicateArray[index] = pReorderEntry->prxb; in RxPktPendingTimeout()
58 list_add_tail(&pReorderEntry->List, &ieee->RxReorder_Unused_List); in RxPktPendingTimeout()
73 spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
76 ieee80211_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout()
82 jiffies + msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
84 spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
97 struct ieee80211_device *ieee = container_of(pTxTs, struct ieee80211_device, TxTsRecord[num]); in TsAddBaProcess() local
99 TsInitAddBA(ieee, pTxTs, BA_POLICY_IMMEDIATE, false); in TsAddBaProcess()
[all …]
H A Dieee80211_tx.c104 * N parts of size ieee->fts. The first fragment contains the SNAP header and the
109 * So if you have 1500 bytes of payload with ieee->fts set to 500 without
165 struct ieee80211_device *ieee, in ieee80211_encrypt_fragment() argument
169 struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_encrypt_fragment()
177 if (ieee->tkip_countermeasures && in ieee80211_encrypt_fragment()
183 netdev_dbg(ieee->dev, "TKIP countermeasures: dropped " in ieee80211_encrypt_fragment()
194 /* Host-based IEEE 802.11 fragmentation for TX is not yet supported, so in ieee80211_encrypt_fragment()
206 netdev_info(ieee->dev, "Encryption failed: len=%d.\n", in ieee80211_encrypt_fragment()
208 ieee->ieee_stats.tx_discards++; in ieee80211_encrypt_fragment()
289 static void ieee80211_tx_query_agg_cap(struct ieee80211_device *ieee, in ieee80211_tx_query_agg_cap() argument
[all …]
H A Dieee80211_wx.c39 static inline char *rtl819x_translate_scan(struct ieee80211_device *ieee, in rtl819x_translate_scan() argument
146 max_mcs = HTGetHighestMCSRate(ieee, ht_cap->MCS, MCS_FILTER_ALL); in rtl819x_translate_scan()
182 if (ieee->wpa_enabled && network->wpa_ie_len) { in rtl819x_translate_scan()
196 if (ieee->wpa_enabled && network->rsn_ie_len) { in rtl819x_translate_scan()
224 int ieee80211_wx_get_scan(struct ieee80211_device *ieee, in ieee80211_wx_get_scan() argument
238 mutex_lock(&ieee->wx_mutex); in ieee80211_wx_get_scan()
239 spin_lock_irqsave(&ieee->lock, flags); in ieee80211_wx_get_scan()
241 list_for_each_entry(network, &ieee->network_list, list) { in ieee80211_wx_get_scan()
247 if (ieee->scan_age == 0 || in ieee80211_wx_get_scan()
248 time_after(network->last_scanned + ieee->scan_age, jiffies)) in ieee80211_wx_get_scan()
[all …]
H A Dieee80211_rx.c42 static inline void ieee80211_monitor_rx(struct ieee80211_device *ieee, in ieee80211_monitor_rx() argument
49 skb->dev = ieee->dev; in ieee80211_monitor_rx()
62 ieee80211_frag_cache_find(struct ieee80211_device *ieee, unsigned int seq, in ieee80211_frag_cache_find() argument
69 entry = &ieee->frag_cache[tid][i]; in ieee80211_frag_cache_find()
92 ieee80211_frag_cache_get(struct ieee80211_device *ieee, in ieee80211_frag_cache_get() argument
121 skb = dev_alloc_skb(ieee->dev->mtu + in ieee80211_frag_cache_get()
131 entry = &ieee->frag_cache[tid][ieee->frag_next_idx[tid]]; in ieee80211_frag_cache_get()
132 ieee->frag_next_idx[tid]++; in ieee80211_frag_cache_get()
133 if (ieee->frag_next_idx[tid] >= IEEE80211_FRAG_CACHE_LEN) in ieee80211_frag_cache_get()
134 ieee->frag_next_idx[tid] = 0; in ieee80211_frag_cache_get()
[all …]
H A Drtl819x_HTProc.c59 void HTUpdateDefaultSetting(struct ieee80211_device *ieee) in HTUpdateDefaultSetting() argument
61 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting()
65 //printk("===>ieee:%p,\n", ieee); in HTUpdateDefaultSetting()
93 ieee->bTxDisableRateFallBack = 0; in HTUpdateDefaultSetting()
94 ieee->bTxUseDriverAssingedRate = 0; in HTUpdateDefaultSetting()
215 static u16 HTMcsToDataRate(struct ieee80211_device *ieee, u8 nMcsRate) in HTMcsToDataRate() argument
217 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in HTMcsToDataRate()
228 * input: struct ieee80211_device* ieee
234 u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate) in TxCountToDataRate() argument
236 //PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in TxCountToDataRate()
[all …]
H A Dieee80211_crypt.c34 void ieee80211_crypt_deinit_entries(struct ieee80211_device *ieee, in ieee80211_crypt_deinit_entries() argument
40 for (ptr = ieee->crypt_deinit_list.next, n = ptr->next; in ieee80211_crypt_deinit_entries()
41 ptr != &ieee->crypt_deinit_list; ptr = n, n = ptr->next) { in ieee80211_crypt_deinit_entries()
57 struct ieee80211_device *ieee = from_timer(ieee, t, crypt_deinit_timer); in ieee80211_crypt_deinit_handler() local
60 spin_lock_irqsave(&ieee->lock, flags); in ieee80211_crypt_deinit_handler()
61 ieee80211_crypt_deinit_entries(ieee, 0); in ieee80211_crypt_deinit_handler()
62 if (!list_empty(&ieee->crypt_deinit_list)) { in ieee80211_crypt_deinit_handler()
63 netdev_dbg(ieee->dev, "%s: entries remaining in delayed crypt deletion list\n", in ieee80211_crypt_deinit_handler()
64 ieee->dev->name); in ieee80211_crypt_deinit_handler()
65 ieee->crypt_deinit_timer.expires = jiffies + HZ; in ieee80211_crypt_deinit_handler()
[all …]
H A Drtl819x_BAProc.c19 static void ActivateBAEntry(struct ieee80211_device *ieee, struct ba_record *pBA, u16 Time) in ActivateBAEntry() argument
31 static void DeActivateBAEntry(struct ieee80211_device *ieee, struct ba_record *pBA) in DeActivateBAEntry() argument
43 static u8 TxTsDeleteBA(struct ieee80211_device *ieee, struct tx_ts_record *pTxTs) in TxTsDeleteBA() argument
51 DeActivateBAEntry(ieee, pPendingBa); in TxTsDeleteBA()
57 DeActivateBAEntry(ieee, pAdmittedBa); in TxTsDeleteBA()
71 static u8 RxTsDeleteBA(struct ieee80211_device *ieee, struct rx_ts_record *pRxTs) in RxTsDeleteBA() argument
77 DeActivateBAEntry(ieee, pBa); in RxTsDeleteBA()
108 static struct sk_buff *ieee80211_ADDBA(struct ieee80211_device *ieee, u8 *Dst, struct ba_record *pB… in ieee80211_ADDBA() argument
113 u16 len = ieee->tx_headroom + 9; in ieee80211_ADDBA()
115 …EE80211_DL_BA, "========>%s(), frame(%d) sentd to:%pM, ieee->dev:%p\n", __func__, type, Dst, ieee-… in ieee80211_ADDBA()
[all …]
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_geo.c31 int libipw_is_valid_channel(struct libipw_device *ieee, u8 channel) in libipw_is_valid_channel() argument
37 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_is_valid_channel()
40 if (ieee->freq_band & LIBIPW_24GHZ_BAND) in libipw_is_valid_channel()
41 for (i = 0; i < ieee->geo.bg_channels; i++) in libipw_is_valid_channel()
45 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel()
46 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && in libipw_is_valid_channel()
47 (!(ieee->mode & IEEE_G) || in libipw_is_valid_channel()
48 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) in libipw_is_valid_channel()
51 if (ieee->freq_band & LIBIPW_52GHZ_BAND) in libipw_is_valid_channel()
52 for (i = 0; i < ieee->geo.a_channels; i++) in libipw_is_valid_channel()
[all …]
H A Dlibipw_module.c55 static int libipw_networks_allocate(struct libipw_device *ieee) in libipw_networks_allocate() argument
60 ieee->networks[i] = kzalloc(sizeof(struct libipw_network), in libipw_networks_allocate()
62 if (!ieee->networks[i]) { in libipw_networks_allocate()
65 kfree(ieee->networks[j]); in libipw_networks_allocate()
73 static inline void libipw_networks_free(struct libipw_device *ieee) in libipw_networks_free() argument
78 kfree(ieee->networks[i]); in libipw_networks_free()
81 void libipw_networks_age(struct libipw_device *ieee, in libipw_networks_age() argument
88 spin_lock_irqsave(&ieee->lock, flags); in libipw_networks_age()
89 list_for_each_entry(network, &ieee->network_list, list) { in libipw_networks_age()
92 spin_unlock_irqrestore(&ieee->lock, flags); in libipw_networks_age()
[all …]
H A Dlibipw_rx.c35 static void libipw_monitor_rx(struct libipw_device *ieee, in libipw_monitor_rx() argument
42 skb->dev = ieee->dev; in libipw_monitor_rx()
54 *ieee, in libipw_frag_cache_find()
64 entry = &ieee->frag_cache[i]; in libipw_frag_cache_find()
85 static struct sk_buff *libipw_frag_cache_get(struct libipw_device *ieee, in libipw_frag_cache_get() argument
99 skb = dev_alloc_skb(ieee->dev->mtu + in libipw_frag_cache_get()
107 entry = &ieee->frag_cache[ieee->frag_next_idx]; in libipw_frag_cache_get()
108 ieee->frag_next_idx++; in libipw_frag_cache_get()
109 if (ieee->frag_next_idx >= LIBIPW_FRAG_CACHE_LEN) in libipw_frag_cache_get()
110 ieee->frag_next_idx = 0; in libipw_frag_cache_get()
[all …]
H A Dlibipw_wx.c45 static char *libipw_translate_scan(struct libipw_device *ieee, in libipw_translate_scan() argument
74 snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11%s", in libipw_translate_scan()
93 iwe.u.freq.m = libipw_channel_to_freq(ieee, network->channel); in libipw_translate_scan()
151 if (ieee->perfect_rssi == ieee->worst_rssi) in libipw_translate_scan()
156 (ieee->perfect_rssi - ieee->worst_rssi) * in libipw_translate_scan()
157 (ieee->perfect_rssi - ieee->worst_rssi) - in libipw_translate_scan()
158 (ieee->perfect_rssi - network->stats.rssi) * in libipw_translate_scan()
159 (15 * (ieee->perfect_rssi - ieee->worst_rssi) + in libipw_translate_scan()
160 62 * (ieee->perfect_rssi - in libipw_translate_scan()
162 ((ieee->perfect_rssi - in libipw_translate_scan()
[all …]
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-fprem.c38 /* This is the IEEE 854 double-extended-precision format. */
45 } __attribute__((packed)) ieee; member
47 /* This is for NaNs in the IEEE 854 double-extended-precision format. */
77 .ieee.negative = 0,
78 .ieee.exponent = 0x7fff,
79 .ieee.one = 1,
80 .ieee.mantissa = 0,
84 .ieee.negative = 0,
85 .ieee.exponent = 0x7fff,
86 .ieee.one = 0,
[all …]

12345678910>>...34