Home
last modified time | relevance | path

Searched refs:params (Results 1 – 16 of 16) sorted by relevance

/net/mac80211/
Dcfg.c40 struct vif_params *params) in ieee80211_add_iface() argument
50 err = ieee80211_if_add(local, name, &dev, type, params); in ieee80211_add_iface()
78 struct vif_params *params) in ieee80211_change_iface() argument
101 if (ieee80211_vif_is_mesh(&sdata->vif) && params->mesh_id_len) in ieee80211_change_iface()
103 params->mesh_id_len, in ieee80211_change_iface()
104 params->mesh_id); in ieee80211_change_iface()
115 struct key_params *params) in ieee80211_add_key() argument
125 switch (params->cipher) { in ieee80211_add_key()
140 key = ieee80211_key_alloc(alg, key_idx, params->key_len, params->key); in ieee80211_add_key()
209 struct key_params *params)) in ieee80211_get_key() argument
[all …]
Dht.c261 u16 params; in ieee80211_send_delba() local
287 params = (u16)(initiator << 11); /* bit 11 initiator */ in ieee80211_send_delba()
288 params |= (u16)(tid << 12); /* bit 15:12 TID number */ in ieee80211_send_delba()
290 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba()
1064 u16 tid, params; in ieee80211_process_delba() local
1067 params = le16_to_cpu(mgmt->u.action.u.delba.params); in ieee80211_process_delba()
1068 tid = (params & IEEE80211_DELBA_PARAM_TID_MASK) >> 12; in ieee80211_process_delba()
1069 initiator = (params & IEEE80211_DELBA_PARAM_INITIATOR_MASK) >> 11; in ieee80211_process_delba()
Diface.c730 struct vif_params *params) in ieee80211_if_add() argument
786 params && params->mesh_id_len) in ieee80211_if_add()
788 params->mesh_id_len, in ieee80211_if_add()
789 params->mesh_id); in ieee80211_if_add()
Dmlme.c496 struct ieee80211_tx_queue_params params; in ieee80211_sta_wmm_params() local
517 memset(&params, 0, sizeof(params)); in ieee80211_sta_wmm_params()
552 params.aifs = pos[0] & 0x0f; in ieee80211_sta_wmm_params()
553 params.cw_max = ecw2cw((pos[1] & 0xf0) >> 4); in ieee80211_sta_wmm_params()
554 params.cw_min = ecw2cw(pos[1] & 0x0f); in ieee80211_sta_wmm_params()
555 params.txop = get_unaligned_le16(pos + 2); in ieee80211_sta_wmm_params()
559 local->mdev->name, queue, aci, acm, params.aifs, params.cw_min, in ieee80211_sta_wmm_params()
560 params.cw_max, params.txop); in ieee80211_sta_wmm_params()
564 if (local->ops->conf_tx(local_to_hw(local), queue, &params)) { in ieee80211_sta_wmm_params()
Dieee80211_i.h925 struct vif_params *params);
/net/wireless/
Dnl80211.c562 struct vif_params params; in nl80211_set_interface() local
568 memset(&params, 0, sizeof(params)); in nl80211_set_interface()
595 params.mesh_id = nla_data(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_set_interface()
596 params.mesh_id_len = nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_set_interface()
611 type, flags, &params); in nl80211_set_interface()
626 struct vif_params params; in nl80211_new_interface() local
631 memset(&params, 0, sizeof(params)); in nl80211_new_interface()
654 params.mesh_id = nla_data(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_new_interface()
655 params.mesh_id_len = nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_new_interface()
664 type, err ? NULL : &flags, &params); in nl80211_new_interface()
[all …]
/net/sctp/
Dsocket.c2139 static int sctp_apply_peer_addr_params(struct sctp_paddrparams *params, in sctp_apply_peer_addr_params() argument
2149 if (params->spp_flags & SPP_HB_DEMAND && trans) { in sctp_apply_peer_addr_params()
2159 if (params->spp_flags & SPP_HB_ENABLE) { in sctp_apply_peer_addr_params()
2165 if (params->spp_flags & SPP_HB_TIME_IS_ZERO) in sctp_apply_peer_addr_params()
2166 params->spp_hbinterval = 0; in sctp_apply_peer_addr_params()
2168 if (params->spp_hbinterval || in sctp_apply_peer_addr_params()
2169 (params->spp_flags & SPP_HB_TIME_IS_ZERO)) { in sctp_apply_peer_addr_params()
2172 msecs_to_jiffies(params->spp_hbinterval); in sctp_apply_peer_addr_params()
2175 msecs_to_jiffies(params->spp_hbinterval); in sctp_apply_peer_addr_params()
2177 sp->hbinterval = params->spp_hbinterval; in sctp_apply_peer_addr_params()
[all …]
Dinput.c923 union sctp_params params; in __sctp_rcv_init_lookup() local
949 sctp_walk_params(params, init, init_hdr.params) { in __sctp_rcv_init_lookup()
952 af = sctp_get_af_specific(param_type2af(params.p->type)); in __sctp_rcv_init_lookup()
956 af->from_addr_param(paddr, params.addr, sh->source, 0); in __sctp_rcv_init_lookup()
Dsm_make_chunk.c2131 sctp_walk_params(param, peer_init, init_hdr.params) { in sctp_verify_init()
2156 sctp_walk_params(param, peer_init, init_hdr.params) { in sctp_verify_init()
2204 sctp_walk_params(param, peer_init, init_hdr.params) { in sctp_process_init()
Dsm_statefuns.c3467 addr_param = (union sctp_addr_param *)hdr->params; in sctp_sf_do_asconf()
3584 (sctp_paramhdr_t *)addip_hdr->params, in sctp_sf_do_asconf_ack()
/net/netfilter/
Dxt_RATEEST.c103 (info->interval != est->params.interval || in xt_rateest_tg_checkentry()
104 info->ewma_log != est->params.ewma_log)) { in xt_rateest_tg_checkentry()
119 est->params.interval = info->interval; in xt_rateest_tg_checkentry()
120 est->params.ewma_log = info->ewma_log; in xt_rateest_tg_checkentry()
Dnfnetlink_queue.c749 struct nfqnl_msg_config_params *params; in nfqnl_recv_config() local
755 params = nla_data(nfqa[NFQA_CFG_PARAMS]); in nfqnl_recv_config()
756 nfqnl_set_mode(queue, params->copy_mode, in nfqnl_recv_config()
757 ntohl(params->copy_range)); in nfqnl_recv_config()
Dnfnetlink_log.c771 struct nfulnl_msg_config_mode *params; in nfulnl_recv_config() local
772 params = nla_data(nfula[NFULA_CFG_MODE]); in nfulnl_recv_config()
778 nfulnl_set_mode(inst, params->copy_mode, in nfulnl_recv_config()
779 ntohl(params->copy_range)); in nfulnl_recv_config()
/net/9p/
Dtrans_rdma.c163 static int parse_opts(char *params, struct p9_rdma_opts *opts) in parse_opts() argument
176 if (!params) in parse_opts()
179 options = kstrdup(params, GFP_KERNEL); in parse_opts()
Dtrans_fd.c706 static int parse_opts(char *params, struct p9_fd_opts *opts) in parse_opts() argument
718 if (!params) in parse_opts()
721 options = kstrdup(params, GFP_KERNEL); in parse_opts()
/net/atm/
Dmpc.c927 mpc->parameters = mesg->content.params; in msg_from_mpoad()