Searched defs:fc (Results 1 - 21 of 21) sorted by relevance

/net/mac80211/
H A Dled.h58 ieee80211_tpt_led_trig_tx(struct ieee80211_local *local, __le16 fc, int bytes) argument
61 if (local->tpt_led_trigger && ieee80211_is_data(fc))
67 ieee80211_tpt_led_trig_rx(struct ieee80211_local *local, __le16 fc, int bytes) argument
70 if (local->tpt_led_trigger && ieee80211_is_data(fc))
H A Dwep.c280 __le16 fc = hdr->frame_control; local
282 if (!ieee80211_is_data(fc) && !ieee80211_is_auth(fc))
291 if (!pskb_may_pull(rx->skb, ieee80211_hdrlen(fc) +
H A Dmesh_ps.c26 __le16 fc; local
34 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_NULLFUNC);
35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr,
37 nullfunc->frame_control = fc;
H A Ddebugfs_netdev.c299 __le16 fc; local
314 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA);
318 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS);
325 fc |= cpu_to_le16(IEEE80211_FCTL_TODS);
342 hdr->frame_control = fc;
H A Drate.c190 __le16 fc; local
192 fc = hdr->frame_control;
196 !ieee80211_is_data(fc);
H A Dstatus.c482 __le16 fc; local
493 fc = hdr->frame_control;
495 if (!ieee80211_is_data(fc)) /* make sure it is a data frame */
580 __le16 fc; local
619 fc = hdr->frame_control;
644 ieee80211_is_data_qos(fc))
655 (ieee80211_is_data_qos(fc))) {
667 if (!acked && ieee80211_is_back_req(fc)) {
756 ieee80211_is_data(fc) ||
757 ieee80211_is_mgmt(fc))
[all...]
H A Dibss.c1492 u16 fc; local
1498 fc = le16_to_cpu(mgmt->frame_control);
1505 switch (fc & IEEE80211_FCTL_STYPE) {
H A Dmesh.c77 * - Power management control on fc
503 * @fc: frame control field
510 int ieee80211_fill_mesh_addresses(struct ieee80211_hdr *hdr, __le16 *fc, argument
514 *fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS);
521 *fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS);
H A Dsta_info.c1185 __le16 fc; local
1191 fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
1196 fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
1208 nullfunc->frame_control = fc;
H A Dcfg.c3379 __le16 fc; local
3402 fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
3407 fc = cpu_to_le16(IEEE80211_FTYPE_DATA |
3423 nullfunc->frame_control = fc;
H A Drx.c613 __le16 fc; local
617 fc = hdr->frame_control;
618 hdrlen = ieee80211_hdrlen(fc);
1390 __le16 fc; local
1429 fc = hdr->frame_control;
1434 if (ieee80211_has_protected(fc) && rx->sta->cipher_scheme) {
1443 if (!ieee80211_has_protected(fc))
1452 if (!ieee80211_has_protected(fc))
1467 } else if (!ieee80211_has_protected(fc)) {
1478 if (ieee80211_is_mgmt(fc)
1666 __le16 fc; local
1793 ieee80211_drop_unencrypted(struct ieee80211_rx_data *rx, __le16 fc) argument
1819 __le16 fc = hdr->frame_control; local
1904 ieee80211_frame_allowed(struct ieee80211_rx_data *rx, __le16 fc) argument
2027 __le16 fc = hdr->frame_control; local
2223 __le16 fc = hdr->frame_control; local
3244 __le16 fc; local
[all...]
H A Dtx.c451 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, argument
454 if (!ieee80211_is_mgmt(fc))
1284 __le16 fc; local
1290 fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
1330 ieee80211_tpt_led_trig_tx(local, fc, led_len);
1808 __le16 fc; local
1831 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA);
1842 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS);
1866 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS);
1875 fc |
[all...]
H A Dmlme.c916 __le16 fc; local
929 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_NULLFUNC |
931 nullfunc->frame_control = fc;
3291 u16 fc; local
3297 fc = le16_to_cpu(mgmt->frame_control);
3301 switch (fc & IEEE80211_FCTL_STYPE) {
3521 __le16 fc, bool acked)
3525 sdata->u.mgd.status_fc = fc;
3540 __le16 fc = ifmgd->status_fc; local
3545 (ieee80211_is_probe_req(fc) || ieee80211_is_aut
3520 ieee80211_mgd_conn_tx_status(struct ieee80211_sub_if_data *sdata, __le16 fc, bool acked) argument
[all...]
H A Dutil.c53 __le16 fc = hdr->frame_control; local
59 if (ieee80211_is_data(fc)) {
63 if (ieee80211_has_a4(fc))
65 if (ieee80211_has_tods(fc))
67 if (ieee80211_has_fromds(fc))
73 if (ieee80211_is_mgmt(fc)) {
79 if (ieee80211_is_ctl(fc)) {
80 if (ieee80211_is_pspoll(fc))
83 if (ieee80211_is_back_req(fc)) {
/net/ieee802154/
H A Dheader_ops.c90 struct ieee802154_hdr_fc fc = hdr->fc; local
94 fc.dest_addr_mode = hdr->dest.mode;
101 fc.source_addr_mode = hdr->source.mode;
105 fc.intra_pan = true;
107 rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc.intra_pan);
112 if (fc.security_enabled) {
113 fc.version = 1;
122 memcpy(buf, &fc, 2);
214 dlen = ieee802154_hdr_addr_len(hdr->fc
[all...]
H A Dnl-mac.c925 u32 fc = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]); local
927 params.frame_counter = cpu_to_be32(fc);
/net/atm/
H A Dlec.h26 unsigned char fc; member in struct:lecdatahdr_8025
/net/core/
H A Dflow.c55 struct flow_cache *fc = (void *) arg; local
59 per_cpu_ptr(fc->percpu, i)->hash_rnd_recalc = 1;
61 fc->rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD;
62 add_timer(&fc->rnd_timer);
112 static void __flow_cache_shrink(struct flow_cache *fc, argument
120 struct netns_xfrm *xfrm = container_of(fc, struct netns_xfrm,
123 for (i = 0; i < flow_cache_hash_size(fc); i++) {
142 static void flow_cache_shrink(struct flow_cache *fc, argument
145 int shrink_to = fc->low_watermark / flow_cache_hash_size(fc);
150 flow_new_hash_rnd(struct flow_cache *fc, struct flow_cache_percpu *fcp) argument
158 flow_hash_code(struct flow_cache *fc, struct flow_cache_percpu *fcp, const struct flowi *key, size_t keysize) argument
195 struct flow_cache *fc = &net->xfrm.flow_cache_global; local
284 struct flow_cache *fc = info->cache; local
318 flow_cache_percpu_empty(struct flow_cache *fc, int cpu) argument
393 flow_cache_cpu_prepare(struct flow_cache *fc, int cpu) argument
415 struct flow_cache *fc = container_of(nfb, struct flow_cache, local
438 struct flow_cache *fc = &net->xfrm.flow_cache_global; local
497 struct flow_cache *fc = &net->xfrm.flow_cache_global; local
[all...]
/net/phonet/
H A Dpep.c486 u8 fc = fcs[i]; local
488 if (fc > final_fc && fc < PN_MAX_FLOW_CONTROL)
489 final_fc = fc;
/net/wireless/
H A Dutil.c296 unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc) argument
300 if (ieee80211_is_data(fc)) {
301 if (ieee80211_has_a4(fc))
303 if (ieee80211_is_data_qos(fc)) {
305 if (ieee80211_has_order(fc))
311 if (ieee80211_is_ctl(fc)) {
321 if ((fc & cpu_to_le16(0x00E0)) == cpu_to_le16(0x00C0))
485 __le16 fc; local
500 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA);
506 fc |
[all...]
/net/9p/
H A Dclient.c209 struct p9_fcall *fc; local
210 fc = kmalloc(sizeof(struct p9_fcall) + alloc_msize, GFP_NOFS);
211 if (!fc)
213 fc->capacity = alloc_msize;
214 fc->sdata = (char *) fc + sizeof(struct p9_fcall);
215 return fc;

Completed in 192 milliseconds