Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 14 of 14) sorted by relevance

/net/mac80211/
Dagg-rx.c51 for (i = 0; i < tid_rx->buf_size; i++) in ieee80211_free_tid_rx()
216 u16 buf_size, u16 timeout, in ieee80211_send_addba_resp() argument
256 capab |= (u16)(buf_size << 6); /* bit 15:6 max size of aggregation */ in ieee80211_send_addba_resp()
271 u16 buf_size, bool tx, bool auto_seq, in ___ieee80211_start_rx_ba_session() argument
321 (buf_size > max_buf_size)) { in ___ieee80211_start_rx_ba_session()
325 sta->sta.addr, tid, ba_policy, buf_size); in ___ieee80211_start_rx_ba_session()
329 if (buf_size == 0) in ___ieee80211_start_rx_ba_session()
330 buf_size = max_buf_size; in ___ieee80211_start_rx_ba_session()
333 if (buf_size > sta->sta.max_rx_aggregation_subframes) in ___ieee80211_start_rx_ba_session()
334 buf_size = sta->sta.max_rx_aggregation_subframes; in ___ieee80211_start_rx_ba_session()
[all …]
Dagg-tx.c306 .buf_size = 0, in ___ieee80211_stop_tx_ba_session()
460 .buf_size = 0, in ieee80211_tx_ba_session_handle_start()
465 u16 buf_size; in ieee80211_tx_ba_session_handle_start() local
515 buf_size = local->hw.max_tx_aggregation_subframes; in ieee80211_tx_ba_session_handle_start()
523 buf_size = IEEE80211_MAX_AMPDU_BUF_HT; in ieee80211_tx_ba_session_handle_start()
529 buf_size, tid_tx->timeout); in ieee80211_tx_ba_session_handle_start()
713 params.buf_size = tid_tx->buf_size; in ieee80211_agg_tx_operational()
919 u16 capab, tid, buf_size; in ieee80211_process_addba_resp() local
925 buf_size = (capab & IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK) >> 6; in ieee80211_process_addba_resp()
926 buf_size = min(buf_size, local->hw.max_tx_aggregation_subframes); in ieee80211_process_addba_resp()
[all …]
Drx.c1165 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_release_reorder_frames()
1191 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1199 for (j = (index + 1) % tid_agg_rx->buf_size; j != index; in ieee80211_sta_reorder_release()
1200 j = (j + 1) % tid_agg_rx->buf_size) { in ieee80211_sta_reorder_release()
1211 for (i = (index + 1) % tid_agg_rx->buf_size; i != j; in ieee80211_sta_reorder_release()
1212 i = (i + 1) % tid_agg_rx->buf_size) in ieee80211_sta_reorder_release()
1231 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1235 j = index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1237 for (; j != (index - 1) % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1238 j = (j + 1) % tid_agg_rx->buf_size) { in ieee80211_sta_reorder_release()
[all …]
Dsta_info.h180 u16 buf_size; member
234 u16 buf_size; member
Dtrace.h95 __field(u16, buf_size) \
102 __entry->buf_size = params->buf_size; \
108 __entry->buf_size, __entry->amsdu, __entry->timeout, \
Dieee80211_i.h1810 u16 buf_size, bool tx, bool auto_seq,
/net/wireless/
Ddebugfs.c41 char *buf, int buf_size, int offset) in ht_print_chan() argument
43 if (WARN_ON(offset > buf_size)) in ht_print_chan()
48 buf_size - offset, in ht_print_chan()
53 buf_size - offset, in ht_print_chan()
68 unsigned int offset = 0, buf_size = PAGE_SIZE, i, r; in ht40allow_map_read() local
72 buf = kzalloc(buf_size, GFP_KERNEL); in ht40allow_map_read()
84 buf, buf_size, offset); in ht40allow_map_read()
/net/vmw_vsock/
Dvirtio_transport_common.c409 vvs->buf_size = ptrans->buf_size; in virtio_transport_do_socket_init()
414 vvs->buf_size = VIRTIO_VSOCK_DEFAULT_BUF_SIZE; in virtio_transport_do_socket_init()
419 vvs->buf_alloc = vvs->buf_size; in virtio_transport_do_socket_init()
433 return vvs->buf_size; in virtio_transport_get_buffer_size()
463 vvs->buf_size = val; in virtio_transport_set_buffer_size()
477 if (val > vvs->buf_size) in virtio_transport_set_min_buffer_size()
478 vvs->buf_size = val; in virtio_transport_set_min_buffer_size()
489 if (val < vvs->buf_size) in virtio_transport_set_max_buffer_size()
490 vvs->buf_size = val; in virtio_transport_set_max_buffer_size()
587 return vvs->buf_size; in virtio_transport_stream_rcvhiwat()
/net/smc/
Dsmc_ism.h43 int smc_ism_register_dmb(struct smc_link_group *lgr, int buf_size,
/net/core/
Dskmsg.c361 u32 copy, buf_size; in sk_msg_memcopy_from_iter() local
375 buf_size = sge->length - msg->sg.copybreak; in sk_msg_memcopy_from_iter()
376 copy = (buf_size > bytes) ? bytes : buf_size; in sk_msg_memcopy_from_iter()
/net/bluetooth/
D6lowpan.c1114 size_t buf_size = min(count, sizeof(buf) - 1); in lowpan_control_write() local
1120 if (copy_from_user(buf, user_buffer, buf_size)) in lowpan_control_write()
1123 buf[buf_size] = '\0'; in lowpan_control_write()
Dsmp.c3382 size_t buf_size = min(count, (sizeof(buf) - 1)); in le_min_key_size_write() local
3385 if (copy_from_user(buf, user_buf, buf_size)) in le_min_key_size_write()
3388 buf[buf_size] = '\0'; in le_min_key_size_write()
3426 size_t buf_size = min(count, (sizeof(buf) - 1)); in le_max_key_size_write() local
3429 if (copy_from_user(buf, user_buf, buf_size)) in le_max_key_size_write()
3432 buf[buf_size] = '\0'; in le_max_key_size_write()
/net/tipc/
Dmsg.c64 unsigned int buf_size = (BUF_HEADROOM + size + 3) & ~3u; in tipc_buf_acquire() local
66 skb = alloc_skb_fclone(buf_size, gfp); in tipc_buf_acquire()
/net/
Dsocket.c3095 size_t buf_size = 0; in ethtool_ioctl() local
3123 buf_size += rule_cnt * sizeof(u32); in ethtool_ioctl()
3132 buf_size += sizeof(struct ethtool_rxnfc); in ethtool_ioctl()
3134 rxnfc = compat_alloc_user_space(buf_size); in ethtool_ioctl()