Searched defs:cap (Results 1 - 8 of 8) sorted by relevance

/net/mac80211/
H A Dmesh_sync.c171 u8 cap; local
175 cap = beacon->meshconf->meshconf_cap;
202 IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING | cap :
203 ~IEEE80211_MESHCONF_CAPAB_TBTT_ADJUSTING & cap;
H A Dvht.c24 vht_cap->cap &= ~flag;
59 u32 cap, n; local
64 cap = vht_cap->cap & IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK;
65 cap >>= IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT;
67 if (n < cap) {
68 vht_cap->cap &=
70 vht_cap->cap |=
158 vht_cap->cap = cap_info;
159 vht_cap->cap
275 u32 cap = sta->sta.vht_cap.cap; local
[all...]
H A Dmlme.c200 if (sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) {
475 u16 cap; local
484 cap = ht_cap.cap;
489 cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
490 cap &= ~IEEE80211_HT_CAP_SGI_40;
495 cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
496 cap &= ~IEEE80211_HT_CAP_SGI_40;
507 cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
508 cap
542 u32 cap; local
[all...]
H A Dutil.c1358 sband->ht_cap.cap);
1398 sband->vht_cap.cap);
2142 u16 cap)
2151 tmp = cpu_to_le16(cap);
2177 u32 cap)
2186 tmp = cpu_to_le32(cap);
2222 if (ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
2141 ieee80211_ie_build_ht_cap(u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, u16 cap) argument
2176 ieee80211_ie_build_vht_cap(u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, u32 cap) argument
/net/ieee802154/
H A Dnl-mac.c64 u8 cap)
85 nla_put_u8(msg, IEEE802154_ATTR_CAPABILITY, cap))
62 ieee802154_nl_assoc_indic(struct net_device *dev, struct ieee802154_addr *addr, u8 cap) argument
/net/netfilter/
H A Dxt_hashlimit.c448 u32 cap; local
458 cap = CREDITS_PER_JIFFY_BYTES * HZ;
460 dh->rateinfo.credit = cap;
465 cap = dh->rateinfo.credit_cap;
467 if (dh->rateinfo.credit > cap)
468 dh->rateinfo.credit = cap;
/net/core/
H A Dsock.c152 * @cap: The capability to use
155 * created and the current process has the capability @cap in the user
159 struct user_namespace *user_ns, int cap)
161 return file_ns_capable(sk->sk_socket->file, user_ns, cap) &&
162 ns_capable(user_ns, cap);
169 * @cap: The global capability to use
172 * created and the current process has the capability @cap in all user
175 bool sk_capable(const struct sock *sk, int cap) argument
177 return sk_ns_capable(sk, &init_user_ns, cap);
184 * @cap
158 sk_ns_capable(const struct sock *sk, struct user_namespace *user_ns, int cap) argument
190 sk_net_capable(const struct sock *sk, int cap) argument
[all...]
/net/netlink/
H A Daf_netlink.c1320 * @cap: The capability to use
1324 * message has has the capability @cap in the user namespace @user_ns.
1327 struct user_namespace *user_ns, int cap)
1330 file_ns_capable(nsp->sk->sk_socket->file, user_ns, cap)) &&
1331 ns_capable(user_ns, cap);
1339 * @cap: The capability to use
1343 * message has has the capability @cap in the user namespace @user_ns.
1346 struct user_namespace *user_ns, int cap)
1348 return __netlink_ns_capable(&NETLINK_CB(skb), user_ns, cap);
1355 * @cap
1326 __netlink_ns_capable(const struct netlink_skb_parms *nsp, struct user_namespace *user_ns, int cap) argument
1345 netlink_ns_capable(const struct sk_buff *skb, struct user_namespace *user_ns, int cap) argument
1361 netlink_capable(const struct sk_buff *skb, int cap) argument
1377 netlink_net_capable(const struct sk_buff *skb, int cap) argument
[all...]

Completed in 100 milliseconds