/net/mac80211/ |
D | airtime.c | 96 #define GROUP_SHIFT(duration) \ argument 97 _MAX(0, 16 - __builtin_clz(duration)) 103 .duration = { \ 134 .duration = { \ 176 .duration = { \ 213 u16 duration[MCS_GROUP_RATES]; member 390 u32 duration; in ieee80211_calc_legacy_rate_duration() local 393 duration = 144 + 48; /* preamble + PLCP */ in ieee80211_calc_legacy_rate_duration() 395 duration >>= 1; in ieee80211_calc_legacy_rate_duration() 397 duration += 10; /* SIFS */ in ieee80211_calc_legacy_rate_duration() [all …]
|
D | offchannel.c | 207 msecs_to_jiffies(roc->duration) - in ieee80211_end_finished_rocs() 307 min_dur = roc->duration; in _ieee80211_start_next_roc() 308 max_dur = roc->duration; in _ieee80211_start_next_roc() 316 max_dur = max(tmp->duration, max_dur); in _ieee80211_start_next_roc() 317 min_dur = min(tmp->duration, min_dur); in _ieee80211_start_next_roc() 501 if (!cur_roc->hw_begun && new_roc->duration > cur_roc->duration) in ieee80211_coalesce_hw_started_roc() 505 msecs_to_jiffies(cur_roc->duration) - in ieee80211_coalesce_hw_started_roc() 509 if (new_roc->duration > jiffies_to_msecs(remaining)) in ieee80211_coalesce_hw_started_roc() 530 unsigned int duration, u64 *cookie, in ieee80211_start_roc_work() argument 560 if (!duration) in ieee80211_start_roc_work() [all …]
|
D | rc80211_minstrel_ht_debugfs.c | 57 unsigned int duration; in minstrel_ht_stats_dump() local 95 duration = mg->duration[j]; in minstrel_ht_stats_dump() 96 duration <<= mg->shift; in minstrel_ht_stats_dump() 97 tx_time = DIV_ROUND_CLOSEST(duration, 1000); in minstrel_ht_stats_dump() 204 unsigned int duration; in minstrel_ht_stats_csv_dump() local 240 duration = mg->duration[j]; in minstrel_ht_stats_csv_dump() 241 duration <<= mg->shift; in minstrel_ht_stats_csv_dump() 242 tx_time = DIV_ROUND_CLOSEST(duration, 1000); in minstrel_ht_stats_csv_dump()
|
D | rc80211_minstrel_ht.c | 56 #define GROUP_SHIFT(duration) \ argument 57 _MAX(0, 16 - __builtin_clz(duration)) 69 .duration = { \ 107 .duration = { \ 159 .duration = { \ 361 nsecs += minstrel_mcs_groups[group].duration[rate] << in minstrel_ht_get_tp_avg() 538 unsigned int duration = group->duration[index % MCS_GROUP_RATES]; in minstrel_get_duration() local 539 return duration << group->shift; in minstrel_get_duration() 589 if ((group->duration[i] << group->shift) > max_dur) in minstrel_ht_find_probe_rates() 1120 unsigned int duration; in minstrel_ht_get_max_amsdu_len() local [all …]
|
D | trace.h | 1230 unsigned int duration, 1233 TP_ARGS(local, sdata, chan, duration, type), 1240 __field(unsigned int, duration) 1249 __entry->duration = duration; 1257 __entry->duration, __entry->type 1467 u16 duration), 1469 TP_ARGS(local, sdata, duration), 1474 __field(u32, duration) 1480 __entry->duration = duration; 1485 LOCAL_PR_ARG, VIF_PR_ARG, __entry->duration
|
D | rc80211_minstrel_ht.h | 37 u16 duration[MCS_GROUP_RATES]; member
|
D | driver-ops.h | 679 unsigned int duration, in drv_remain_on_channel() argument 686 trace_drv_remain_on_channel(local, sdata, chan, duration, type); in drv_remain_on_channel() 688 chan, duration, type); in drv_remain_on_channel() 824 u16 duration) in drv_mgd_prepare_tx() argument 832 trace_drv_mgd_prepare_tx(local, sdata, duration); in drv_mgd_prepare_tx() 834 local->ops->mgd_prepare_tx(&local->hw, &sdata->vif, duration); in drv_mgd_prepare_tx()
|
D | util.c | 1730 mgmt->duration = 0; /* initialize only */ in ieee80211_send_deauth_disassoc() 4066 s32 end = data->desc[i].start + data->desc[i].duration - (tsf + 1); in ieee80211_extend_noa_desc() 4115 cur = data->desc[i].start + data->desc[i].duration - tsf; in ieee80211_extend_absent_time() 4187 if (!desc->count || !desc->duration) in ieee80211_parse_p2p_noa() 4192 data->desc[i].duration = le32_to_cpu(desc->duration); in ieee80211_parse_p2p_noa() 4196 data->desc[i].interval < data->desc[i].duration) in ieee80211_parse_p2p_noa()
|
D | scan.c | 745 local->hw_scan_req->req.duration = req->duration; in __ieee80211_start_scan()
|
D | ieee80211_i.h | 345 u32 duration, req_duration; member 1759 unsigned int duration, u64 *cookie);
|
D | tx.c | 5259 rts->duration = ieee80211_rts_duration(hw, vif, frame_len, in ieee80211_rts_get() 5275 cts->duration = ieee80211_ctstoself_duration(hw, vif, in ieee80211_ctstoself_get()
|
/net/bpf/ |
D | test_run.c | 51 static bool bpf_test_timer_continue(struct bpf_test_timer *t, u32 repeat, int *err, u32 *duration) in bpf_test_timer_continue() argument 59 *duration = t->time_spent > U32_MAX ? U32_MAX : (u32)t->time_spent; in bpf_test_timer_continue() 131 u32 size, u32 retval, u32 duration) in bpf_test_finish() argument 152 if (copy_to_user(&uattr->test.duration, &duration, sizeof(duration))) in bpf_test_finish() 319 kattr->test.ctx_out || kattr->test.duration || in bpf_prog_test_run_raw_tp() 543 u32 retval, duration; in bpf_prog_test_run_skb() local 635 ret = bpf_test_run(prog, skb, repeat, &retval, &duration, false); in bpf_prog_test_run_skb() 655 ret = bpf_test_finish(kattr, uattr, skb->data, size, retval, duration); in bpf_prog_test_run_skb() 677 u32 retval, duration; in bpf_prog_test_run_xdp() local 704 ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration, true); in bpf_prog_test_run_xdp() [all …]
|
/net/bluetooth/ |
D | selftest.c | 203 unsigned long long duration = 0; in test_ecdh() local 240 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in test_ecdh() 242 BT_INFO("ECDH test passed in %llu usecs", duration); in test_ecdh() 247 "PASS (%llu usecs)\n", duration); in test_ecdh()
|
D | hci_request.c | 2119 u16 duration = adv_instance->timeout * MSEC_PER_SEC; in __hci_req_enable_ext_advertising() local 2122 adv_set->duration = cpu_to_le16(duration / 10); in __hci_req_enable_ext_advertising() 2223 adv_instance->duration <= adv_instance->remaining_time) in __hci_req_schedule_adv_instance() 2224 timeout = adv_instance->duration; in __hci_req_schedule_adv_instance() 2921 unsigned long timeout, duration, scan_start, now; in le_scan_restart_work() local 2944 duration = hdev->discovery.scan_duration; in le_scan_restart_work() 2947 if (now - scan_start <= duration) { in le_scan_restart_work() 2955 timeout = duration - elapsed; in le_scan_restart_work()
|
D | hci_core.c | 2969 u16 timeout, u16 duration) in hci_add_adv_instance() argument 3008 if (duration == 0) in hci_add_adv_instance() 3009 adv_instance->duration = hdev->def_multi_adv_rotation_duration; in hci_add_adv_instance() 3011 adv_instance->duration = duration; in hci_add_adv_instance()
|
D | smp.c | 3784 unsigned long long duration; in run_selftests() local 3845 duration = (unsigned long long) ktime_to_ns(delta) >> 10; in run_selftests() 3847 BT_INFO("SMP test passed in %llu usecs", duration); in run_selftests() 3852 "PASS (%llu usecs)\n", duration); in run_selftests()
|
D | mgmt.c | 7459 u16 timeout, duration; in add_advertising() local 7491 duration = __le16_to_cpu(cp->duration); in add_advertising() 7531 timeout, duration); in add_advertising()
|
/net/wireless/ |
D | trace.h | 1877 unsigned int duration), 1878 TP_ARGS(wiphy, wdev, chan, duration), 1883 __field(unsigned int, duration) 1889 __entry->duration = duration; 1892 WIPHY_PR_ARG, WDEV_PR_ARG, CHAN_PR_ARG, __entry->duration) 2169 enum nl80211_crit_proto_id protocol, u16 duration), 2170 TP_ARGS(wiphy, wdev, protocol, duration), 2175 __field(u16, duration) 2181 __entry->duration = duration; 2184 WIPHY_PR_ARG, WDEV_PR_ARG, __entry->proto, __entry->duration) [all …]
|
D | rdev-ops.h | 714 unsigned int duration, u64 *cookie) in rdev_remain_on_channel() argument 717 trace_rdev_remain_on_channel(&rdev->wiphy, wdev, chan, duration); in rdev_remain_on_channel() 719 duration, cookie); in rdev_remain_on_channel() 1062 u16 duration) in rdev_crit_proto_start() argument 1066 trace_rdev_crit_proto_start(&rdev->wiphy, wdev, protocol, duration); in rdev_crit_proto_start() 1068 protocol, duration); in rdev_crit_proto_start()
|
D | nl80211.c | 8267 request->duration = in nl80211_trigger_scan() 11018 u32 duration; in nl80211_remain_on_channel() local 11025 duration = nla_get_u32(info->attrs[NL80211_ATTR_DURATION]); in nl80211_remain_on_channel() 11035 if (duration < NL80211_MIN_REMAIN_ON_CHANNEL_TIME || in nl80211_remain_on_channel() 11036 duration > rdev->wiphy.max_remain_on_channel_duration) in nl80211_remain_on_channel() 11067 duration, &cookie); in nl80211_remain_on_channel() 13484 u16 duration; in nl80211_crit_protocol_start() local 13507 duration = in nl80211_crit_protocol_start() 13510 ret = rdev_crit_proto_start(rdev, wdev, proto, duration); in nl80211_crit_protocol_start() 16411 unsigned int duration, gfp_t gfp) in nl80211_send_remain_on_chan_event() argument [all …]
|
/net/ieee802154/ |
D | nl-mac.c | 373 u8 duration; in ieee802154_scan_req() local 389 duration = nla_get_u8(info->attrs[IEEE802154_ATTR_DURATION]); in ieee802154_scan_req() 397 page, duration); in ieee802154_scan_req()
|
/net/ceph/ |
D | mon_client.c | 319 seconds = le32_to_cpu(h->duration); in handle_subscribe_ack()
|