Home
last modified time | relevance | path

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

/net/mac80211/
Dagg-rx.c54 for (i = 0; i < tid_rx->buf_size; i++) in ieee80211_free_tid_rx()
204 u16 buf_size, u16 timeout) in ieee80211_send_addba_resp() argument
240 capab |= (u16)(buf_size << 6); /* bit 15:6 max size of aggregation */ in ieee80211_send_addba_resp()
252 u16 buf_size, bool tx, bool auto_seq) in ___ieee80211_start_rx_ba_session() argument
295 (buf_size > IEEE80211_MAX_AMPDU_BUF)) { in ___ieee80211_start_rx_ba_session()
299 sta->sta.addr, tid, ba_policy, buf_size); in ___ieee80211_start_rx_ba_session()
303 if (buf_size == 0) in ___ieee80211_start_rx_ba_session()
304 buf_size = IEEE80211_MAX_AMPDU_BUF; in ___ieee80211_start_rx_ba_session()
307 if (buf_size > sta->sta.max_rx_aggregation_subframes) in ___ieee80211_start_rx_ba_session()
308 buf_size = sta->sta.max_rx_aggregation_subframes; in ___ieee80211_start_rx_ba_session()
[all …]
Dagg-tx.c309 .buf_size = 0, in ___ieee80211_stop_tx_ba_session()
467 .buf_size = 0, in ieee80211_tx_ba_session_handle_start()
721 params.buf_size = tid_tx->buf_size; in ieee80211_agg_tx_operational()
928 u8 buf_size; in ieee80211_process_addba_resp() local
934 buf_size = (capab & IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK) >> 6; in ieee80211_process_addba_resp()
935 buf_size = min(buf_size, local->hw.max_tx_aggregation_subframes); in ieee80211_process_addba_resp()
978 == WLAN_STATUS_SUCCESS && buf_size) { in ieee80211_process_addba_resp()
985 tid_tx->buf_size = buf_size; in ieee80211_process_addba_resp()
Drx.c970 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_release_reorder_frames()
996 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1004 for (j = (index + 1) % tid_agg_rx->buf_size; j != index; in ieee80211_sta_reorder_release()
1005 j = (j + 1) % tid_agg_rx->buf_size) { in ieee80211_sta_reorder_release()
1016 for (i = (index + 1) % tid_agg_rx->buf_size; i != j; in ieee80211_sta_reorder_release()
1017 i = (i + 1) % tid_agg_rx->buf_size) in ieee80211_sta_reorder_release()
1036 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1040 j = index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1042 for (; j != (index - 1) % tid_agg_rx->buf_size; in ieee80211_sta_reorder_release()
1043 j = (j + 1) % tid_agg_rx->buf_size) { in ieee80211_sta_reorder_release()
[all …]
Dsta_info.h167 u8 buf_size; member
217 u16 buf_size; member
Dtrace.h94 __field(u8, buf_size) \
101 __entry->buf_size = params->buf_size; \
107 __entry->buf_size, __entry->amsdu, __entry->timeout, \
Dieee80211_i.h1762 u16 buf_size, bool tx, bool auto_seq);
1766 u16 buf_size, bool tx, bool auto_seq);
/net/wireless/
Ddebugfs.c44 char *buf, int buf_size, int offset) in ht_print_chan() argument
46 if (WARN_ON(offset > buf_size)) in ht_print_chan()
51 buf_size - offset, in ht_print_chan()
56 buf_size - offset, in ht_print_chan()
71 unsigned int offset = 0, buf_size = PAGE_SIZE, i, r; in ht40allow_map_read() local
75 buf = kzalloc(buf_size, GFP_KERNEL); in ht40allow_map_read()
87 buf, buf_size, offset); in ht40allow_map_read()
/net/vmw_vsock/
Dvirtio_transport_common.c385 vvs->buf_size = ptrans->buf_size; in virtio_transport_do_socket_init()
390 vvs->buf_size = VIRTIO_VSOCK_DEFAULT_BUF_SIZE; in virtio_transport_do_socket_init()
395 vvs->buf_alloc = vvs->buf_size; in virtio_transport_do_socket_init()
409 return vvs->buf_size; in virtio_transport_get_buffer_size()
439 vvs->buf_size = val; in virtio_transport_set_buffer_size()
450 if (val > vvs->buf_size) in virtio_transport_set_min_buffer_size()
451 vvs->buf_size = val; in virtio_transport_set_min_buffer_size()
462 if (val < vvs->buf_size) in virtio_transport_set_max_buffer_size()
463 vvs->buf_size = val; in virtio_transport_set_max_buffer_size()
560 return vvs->buf_size; in virtio_transport_stream_rcvhiwat()
/net/bluetooth/
Dhci_debugfs.c51 size_t buf_size = min(count, (sizeof(buf) - 1)); \
57 if (copy_from_user(buf, user_buf, buf_size)) \
60 buf[buf_size] = '\0'; \
803 size_t buf_size = min(count, (sizeof(buf)-1)); in force_static_address_write() local
809 if (copy_from_user(buf, user_buf, buf_size)) in force_static_address_write()
812 buf[buf_size] = '\0'; in force_static_address_write()
D6lowpan.c1126 size_t buf_size = min(count, sizeof(buf) - 1); in lowpan_control_write() local
1132 if (copy_from_user(buf, user_buffer, buf_size)) in lowpan_control_write()
1135 buf[buf_size] = '\0'; in lowpan_control_write()
Dsmp.c3320 size_t buf_size = min(count, (sizeof(buf)-1)); in force_bredr_smp_write() local
3323 if (copy_from_user(buf, user_buf, buf_size)) in force_bredr_smp_write()
3326 buf[buf_size] = '\0'; in force_bredr_smp_write()
3379 size_t buf_size = min(count, (sizeof(buf) - 1)); in le_min_key_size_write() local
3382 if (copy_from_user(buf, user_buf, buf_size)) in le_min_key_size_write()
3385 buf[buf_size] = '\0'; in le_min_key_size_write()
3423 size_t buf_size = min(count, (sizeof(buf) - 1)); in le_max_key_size_write() local
3426 if (copy_from_user(buf, user_buf, buf_size)) in le_max_key_size_write()
3429 buf[buf_size] = '\0'; in le_max_key_size_write()
Dhci_core.c80 size_t buf_size = min(count, (sizeof(buf)-1)); in dut_mode_write() local
86 if (copy_from_user(buf, user_buf, buf_size)) in dut_mode_write()
89 buf[buf_size] = '\0'; in dut_mode_write()
139 size_t buf_size = min(count, (sizeof(buf)-1)); in vendor_diag_write() local
143 if (copy_from_user(buf, user_buf, buf_size)) in vendor_diag_write()
146 buf[buf_size] = '\0'; in vendor_diag_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.c2802 size_t buf_size = ALIGN(sizeof(struct ifreq), 8); in ethtool_ioctl() local
2830 buf_size += rule_cnt * sizeof(u32); in ethtool_ioctl()
2839 buf_size += sizeof(struct ethtool_rxnfc); in ethtool_ioctl()
2844 ifr = compat_alloc_user_space(buf_size); in ethtool_ioctl()