Searched refs:cap (Results 1 - 25 of 26) sorted by relevance

12

/net/mac80211/
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 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 Ddebugfs_sta.c272 p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.4x\n", htc->cap);
274 PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDPC");
275 PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40");
276 PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20");
278 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 0, "Static SM Power Save");
279 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 1, "Dynamic SM Power Save");
280 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 3, "SM Power Save disabled");
282 PRINT_HT_CAP((htc->cap & BIT(4)), "RX Greenfield");
283 PRINT_HT_CAP((htc->cap
[all...]
H A Dht.c30 ht_cap->cap &= ~flag;
43 ht_cap->cap |= flag;
167 ht_cap.cap = le16_to_cpu(ht_cap_ie->cap_info) &
168 (own_cap.cap | ~(IEEE80211_HT_CAP_LDPC_CODING |
179 if (!(own_cap.cap & IEEE80211_HT_CAP_TX_STBC))
180 ht_cap.cap &= ~IEEE80211_HT_CAP_RX_STBC;
181 if (!(own_cap.cap & IEEE80211_HT_CAP_RX_STBC))
182 ht_cap.cap &= ~IEEE80211_HT_CAP_TX_STBC;
250 bw = ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
260 ht_cap.cap
[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 Dtdls.c245 * single HT-cap, so use the current band for now.
256 ht_cap.cap |= (WLAN_HT_CAP_SM_PS_DISABLED
260 sta->sta.ht_cap.cap |=
269 ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap);
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
H A Dagg-rx.c249 (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) ||
H A Dieee80211_i.h503 struct ieee80211_ht_cap ht_capa; /* configured ht-cap over-rides */
537 struct ieee80211_ht_cap ht_capa; /* configured ht-cap over-rides */
1839 u16 cap);
1844 u32 cap);
H A Dmesh.c428 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap);
H A Drc80211_minstrel_ht.c961 u16 sta_cap = sta->ht_cap.cap;
H A Dibss.c183 pos = ieee80211_ie_build_ht_cap(pos, &ht_cap, ht_cap.cap);
H A Dsta_info.c384 u8 smps = (sband->ht_cap.cap & IEEE80211_HT_CAP_SM_PS) >>
H A Drx.c2499 if (!(rx->sta->sta.ht_cap.cap &
/net/sunrpc/xprtrdma/
H A Dverbs.c677 ep->rep_attr.cap.max_send_wr = cdata->max_requests;
705 ep->rep_attr.cap.max_send_wr *= depth;
706 if (ep->rep_attr.cap.max_send_wr > devattr.max_qp_wr) {
710 ep->rep_attr.cap.max_send_wr = cdata->max_requests *
718 ep->rep_attr.cap.max_recv_wr = cdata->max_requests;
719 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2);
720 ep->rep_attr.cap.max_recv_sge = 1;
721 ep->rep_attr.cap.max_inline_data = 0;
729 ep->rep_attr.cap.max_send_wr,
730 ep->rep_attr.cap
[all...]
H A Dsvc_rdma_transport.c923 qp_attr.cap.max_send_wr = newxprt->sc_sq_depth;
924 qp_attr.cap.max_recv_wr = newxprt->sc_max_requests;
925 qp_attr.cap.max_send_sge = newxprt->sc_max_sge;
926 qp_attr.cap.max_recv_sge = newxprt->sc_max_sge;
933 " cap.max_send_wr = %d\n"
934 " cap.max_recv_wr = %d\n"
935 " cap.max_send_sge = %d\n"
936 " cap.max_recv_sge = %d\n",
939 qp_attr.cap.max_send_wr,
940 qp_attr.cap
[all...]
/net/9p/
H A Dtrans_rdma.c699 qp_attr.cap.max_send_wr = opts.sq_depth;
700 qp_attr.cap.max_recv_wr = opts.rq_depth;
701 qp_attr.cap.max_send_sge = P9_RDMA_SEND_SGE;
702 qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE;
/net/rds/
H A Dib_cm.c331 attr.cap.max_send_wr = ic->i_send_ring.w_nr + 1;
332 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1;
333 attr.cap.max_send_sge = rds_ibdev->max_sge;
334 attr.cap.max_recv_sge = RDS_IB_RECV_SGE;
H A Diw_cm.c194 attr->cap.max_send_wr = send_size;
195 attr->cap.max_recv_wr = recv_size;
196 attr->cap.max_send_sge = rds_iwdev->max_sge;
197 attr->cap.max_recv_sge = RDS_IW_RECV_SGE;
/net/wireless/
H A Dchan.c634 if (!(ht_cap->cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) ||
635 ht_cap->cap & IEEE80211_HT_CAP_40MHZ_INTOLERANT)
645 if (!(vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ))
656 if (!(vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ))
H A Dcore.c571 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;
572 sband->ht_cap.cap &= ~IEEE80211_HT_CAP_SGI_40;
/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...]
/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

Completed in 262 milliseconds

12