/titanic_41/usr/src/uts/common/io/idm/ |
H A D | idm_conn_sm.c | 48 idm_state_s1_free(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 51 idm_state_s2_xpt_wait(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 54 idm_state_s3_xpt_up(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 57 idm_state_s4_in_login(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 60 idm_state_s5_logged_in(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 63 idm_state_s6_in_logout(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 69 idm_state_s7_logout_req(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 72 idm_state_s8_cleanup(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 75 idm_state_s9_init_error(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); 78 idm_state_s9a_rejected(idm_conn_t *ic, idm_conn_event_ctx_t *event_ctx); [all …]
|
H A D | idm_impl.c | 51 idm_pdu_rx(idm_conn_t *ic, idm_pdu_t *pdu) in idm_pdu_rx() argument 59 ic->ic_timestamp = ddi_get_lbolt(); in idm_pdu_rx() 60 mutex_enter(&ic->ic_state_mutex); in idm_pdu_rx() 61 if (ic->ic_ffp && ic->ic_pdu_events == 0) { in idm_pdu_rx() 62 mutex_exit(&ic->ic_state_mutex); in idm_pdu_rx() 64 if (idm_pdu_rx_forward_ffp(ic, pdu) == B_TRUE) { in idm_pdu_rx() 68 mutex_enter(&ic->ic_state_mutex); in idm_pdu_rx() 87 DTRACE_ISCSI_2(login__command, idm_conn_t *, ic, in idm_pdu_rx() 89 idm_conn_rx_pdu_event(ic, CE_LOGIN_RCV, (uintptr_t)pdu); in idm_pdu_rx() 92 idm_parse_login_rsp(ic, pdu, /* RX */ B_TRUE); in idm_pdu_rx() [all …]
|
H A D | idm.c | 64 static void idm_task_abort_one(idm_conn_t *ic, idm_task_t *idt, 184 idm_conn_t *ic; in idm_ini_conn_create() local 190 ic = idm_conn_create_common(CONN_TYPE_INI, it->it_type, in idm_ini_conn_create() 193 bcopy(&cr->cr_ini_dst_addr, &ic->ic_ini_dst_addr, in idm_ini_conn_create() 197 rc = it->it_ops->it_ini_conn_create(cr, ic); in idm_ini_conn_create() 200 idm_conn_destroy_common(ic); in idm_ini_conn_create() 217 *new_con = ic; in idm_ini_conn_create() 220 list_insert_tail(&idm.idm_ini_conn_list, ic); in idm_ini_conn_create() 237 idm_conn_t *ic = ic_void; in idm_ini_conn_destroy_task() local 239 ic->ic_transport_ops->it_ini_conn_destroy(ic); in idm_ini_conn_destroy_task() [all …]
|
H A D | idm_so.c | 70 static idm_status_t idm_so_conn_create_common(idm_conn_t *ic, ksocket_t new_so); 71 static void idm_so_conn_destroy_common(idm_conn_t *ic); 72 static void idm_so_conn_connect_common(idm_conn_t *ic); 79 static idm_status_t idm_sorecvdata(idm_conn_t *ic, idm_pdu_t *pdu); 80 static void idm_so_send_rtt_data(idm_conn_t *ic, idm_task_t *idt, 98 static void idm_so_tx(idm_conn_t *ic, idm_pdu_t *pdu); 101 static void idm_so_rx_datain(idm_conn_t *ic, idm_pdu_t *pdu); 102 static void idm_so_rx_rtt(idm_conn_t *ic, idm_pdu_t *pdu); 103 static void idm_so_rx_dataout(idm_conn_t *ic, idm_pdu_t *pdu); 111 static boolean_t idm_so_conn_is_capable(idm_conn_req_t *ic, [all …]
|
/titanic_41/usr/src/uts/common/io/net80211/ |
H A D | net80211.c | 115 ieee80211_mac_update(ieee80211com_t *ic) in ieee80211_mac_update() argument 124 in = ic->ic_bss; in ieee80211_mac_update() 125 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); in ieee80211_mac_update() 126 wd.wd_opmode = ic->ic_opmode; in ieee80211_mac_update() 131 if (ic->ic_flags & IEEE80211_F_DATAPAD) in ieee80211_mac_update() 134 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd)); in ieee80211_mac_update() 135 mac_tx_update(ic->ic_mach); in ieee80211_mac_update() 147 ieee80211com_t *ic = arg; in ieee80211_event_thread() local 152 mutex_enter(&ic->ic_doorlock); in ieee80211_event_thread() 154 ev.event = ic->ic_eventq[ic->ic_evq_head]; in ieee80211_event_thread() [all …]
|
H A D | net80211_node.c | 78 ieee80211_node_attach(ieee80211com_t *ic) in ieee80211_node_attach() argument 80 struct ieee80211_impl *im = ic->ic_private; in ieee80211_node_attach() 82 ic->ic_node_alloc = ieee80211_node_alloc; in ieee80211_node_attach() 83 ic->ic_node_free = ieee80211_node_free; in ieee80211_node_attach() 84 ic->ic_node_cleanup = ieee80211_node_cleanup; in ieee80211_node_attach() 85 ic->ic_node_getrssi = ieee80211_node_getrssi; in ieee80211_node_attach() 98 ieee80211_node_lateattach(ieee80211com_t *ic) in ieee80211_node_lateattach() argument 104 ic->ic_tim_len = howmany(IEEE80211_AID_MAX, 8) * sizeof (uint8_t); in ieee80211_node_lateattach() 106 ieee80211_node_table_init(ic, &ic->ic_sta, "station", in ieee80211_node_lateattach() 109 ieee80211_node_table_init(ic, &ic->ic_scan, "scan", in ieee80211_node_lateattach() [all …]
|
H A D | net80211_proto.c | 84 ieee80211_proto_attach(ieee80211com_t *ic) in ieee80211_proto_attach() argument 86 struct ieee80211_impl *im = ic->ic_private; in ieee80211_proto_attach() 88 ic->ic_rtsthreshold = IEEE80211_RTS_DEFAULT; in ieee80211_proto_attach() 89 ic->ic_fragthreshold = IEEE80211_FRAG_DEFAULT; in ieee80211_proto_attach() 90 ic->ic_fixed_rate = IEEE80211_FIXED_RATE_NONE; in ieee80211_proto_attach() 91 ic->ic_protmode = IEEE80211_PROT_CTSONLY; in ieee80211_proto_attach() 94 ic->ic_wme.wme_hipri_switch_hysteresis = in ieee80211_proto_attach() 98 ic->ic_newstate = ieee80211_newstate; in ieee80211_proto_attach() 101 ic->ic_recv_mgmt = ieee80211_recv_mgmt; in ieee80211_proto_attach() 102 ic->ic_send_mgmt = ieee80211_send_mgmt; in ieee80211_proto_attach() [all …]
|
H A D | net80211_ioctl.c | 132 wifi_cfg_essid(struct ieee80211com *ic, uint32_t cmd, mblk_t **mp) in wifi_cfg_essid() argument 148 wl_get_essid(ic, ow_essid); in wifi_cfg_essid() 151 err = wl_set_essid(ic, iw_essid); in wifi_cfg_essid() 166 wifi_cfg_bssid(struct ieee80211com *ic, uint32_t cmd, mblk_t **mp) in wifi_cfg_bssid() argument 179 wl_get_bssid(ic, outp->wldp_buf); in wifi_cfg_bssid() 182 err = wl_set_bssid(ic, inp->wldp_buf); in wifi_cfg_bssid() 200 wifi_cfg_nodename(struct ieee80211com *ic, uint32_t cmd, mblk_t **mp) in wifi_cfg_nodename() argument 218 len = wifi_strnlen((const char *)ic->ic_nickname, in wifi_cfg_nodename() 221 bcopy(ic->ic_nickname, ow_name->wl_nodename_name, len); in wifi_cfg_nodename() 240 bcopy(nodename, ic->ic_nickname, len); in wifi_cfg_nodename() [all …]
|
H A D | net80211_crypto.c | 70 nulldev_key_alloc(ieee80211com_t *ic, const struct ieee80211_key *k, in nulldev_key_alloc() argument 80 nulldev_key_delete(ieee80211com_t *ic, const struct ieee80211_key *k) in nulldev_key_delete() argument 87 nulldev_key_set(ieee80211com_t *ic, const struct ieee80211_key *k, in nulldev_key_set() argument 95 nulldev_key_update(ieee80211com_t *ic) in nulldev_key_update() argument 106 ieee80211_crypto_resetkey(ieee80211com_t *ic, in ieee80211_crypto_resetkey() argument 110 k->wk_private = k->wk_cipher->ic_attach(ic, k); in ieee80211_crypto_resetkey() 129 ieee80211_crypto_newkey(ieee80211com_t *ic, int cipher, int flags, in ieee80211_crypto_newkey() argument 145 cip = ic->ic_ciphers[cipher]; in ieee80211_crypto_newkey() 161 if ((ic->ic_caps & (1<<cipher)) == 0) { in ieee80211_crypto_newkey() 173 (ic->ic_caps & IEEE80211_C_TKIPMIC) == 0) { in ieee80211_crypto_newkey() [all …]
|
H A D | net80211_input.c | 61 ieee80211_input(ieee80211com_t *ic, mblk_t *mp, struct ieee80211_node *in, in ieee80211_input() argument 85 IEEE80211_LOCK(ic); in ieee80211_input() 90 hdrspace = ieee80211_hdrspace(ic, wh); /* optimize */ in ieee80211_input() 123 IEEE80211_LOCK(ic); in ieee80211_input() 124 if (!(ic->ic_flags & IEEE80211_F_SCAN)) { in ieee80211_input() 125 switch (ic->ic_opmode) { in ieee80211_input() 151 if (!IEEE80211_ADDR_EQ(bssid, ic->ic_bss->in_bssid) && in ieee80211_input() 163 if (in == ic->ic_bss && in ieee80211_input() 164 ic->ic_opmode != IEEE80211_M_HOSTAP && in ieee80211_input() 170 in = ieee80211_fakeup_adhoc_node(&ic->ic_sta, in ieee80211_input() [all …]
|
H A D | net80211_output.c | 53 ieee80211_send_setup(ieee80211com_t *ic, ieee80211_node_t *in, in ieee80211_send_setup() argument 59 switch (ic->ic_opmode) { in ieee80211_send_setup() 75 "Invalid mode %u\n", ic->ic_opmode); in ieee80211_send_setup() 102 ieee80211_mgmt_output(ieee80211com_t *ic, ieee80211_node_t *in, mblk_t *mp, in ieee80211_mgmt_output() argument 105 ieee80211_impl_t *im = ic->ic_private; in ieee80211_mgmt_output() 111 ieee80211_send_setup(ic, in, wh, IEEE80211_FC0_TYPE_MGT | type, in ieee80211_mgmt_output() 112 ic->ic_macaddr, in->in_macaddr, in->in_bssid); in ieee80211_mgmt_output() 121 ieee80211_start_watchdog(ic, 1); in ieee80211_mgmt_output() 123 return ((*ic->ic_xmit)(ic, mp, IEEE80211_FC0_TYPE_MGT)); in ieee80211_mgmt_output() 136 ieee80211com_t *ic = in->in_ic; in ieee80211_send_nulldata() local [all …]
|
H A D | net80211_ht.c | 93 struct ieee80211com *ic = in->in_ic; in ieee80211_decap_amsdu() local 101 hdrspace = ieee80211_hdrspace(ic, wh); in ieee80211_decap_amsdu() 134 ic->ic_stats.is_rx_frags++; in ieee80211_decap_amsdu() 135 ic->ic_stats.is_rx_bytes += MBLKL(m0); in ieee80211_decap_amsdu() 136 IEEE80211_UNLOCK(ic); in ieee80211_decap_amsdu() 137 mac_rx(ic->ic_mach, NULL, m0); /* deliver to mac */ in ieee80211_decap_amsdu() 138 IEEE80211_LOCK(ic); in ieee80211_decap_amsdu() 644 struct ieee80211com *ic = in->in_ic; in ieee80211_ht_node_cleanup() local 657 ic->ic_addba_stop(in, &in->in_tx_ampdu[i]); in ieee80211_ht_node_cleanup() 673 findhtchan(struct ieee80211com *ic, struct ieee80211_channel *c, int htflags) in findhtchan() argument [all …]
|
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_cm.c | 73 struct rdsv3_ib_connection *ic = conn->c_transport_data; in rdsv3_ib_set_flow_control() local 80 ic->i_flowctl = 1; in rdsv3_ib_set_flow_control() 83 ic->i_flowctl = 0; in rdsv3_ib_set_flow_control() 106 rdsv3_ib_tune_rnr(struct rdsv3_ib_connection *ic, struct ib_qp_attr *attr) in rdsv3_ib_tune_rnr() argument 111 ic, attr); in rdsv3_ib_tune_rnr() 114 ret = ib_modify_qp(ic->i_cm_id->qp, attr, IB_QP_MIN_RNR_TIMER); in rdsv3_ib_tune_rnr() 129 struct rdsv3_ib_connection *ic = conn->c_transport_data; in rdsv3_ib_cm_connect_complete() local 131 ib_get_client_data(ic->i_cm_id->device, &rdsv3_ib_client); in rdsv3_ib_cm_connect_complete() 165 ic->i_flowctl ? ", flow control" : ""); in rdsv3_ib_cm_connect_complete() 168 ASSERT(ic->i_soft_cq == NULL); in rdsv3_ib_cm_connect_complete() [all …]
|
H A D | ib_recv.c | 57 rdsv3_ib_recv_init_ring(struct rdsv3_ib_connection *ic) in rdsv3_ib_recv_init_ring() argument 63 RDSV3_DPRINTF4("rdsv3_ib_recv_init_ring", "ic: %p", ic); in rdsv3_ib_recv_init_ring() 65 hdrp = ic->i_recv_hdrs; in rdsv3_ib_recv_init_ring() 66 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rdsv3_ib_recv_init_ring() 73 recv->r_sge[0].ds_key = ic->i_mr->lkey; in rdsv3_ib_recv_init_ring() 78 rdsv3_ib_recv_clear_one(struct rdsv3_ib_connection *ic, in rdsv3_ib_recv_clear_one() argument 82 ic, recv); in rdsv3_ib_recv_clear_one() 90 kmem_cache_free(ic->rds_ibdev->ib_frag_slab, recv->r_frag); in rdsv3_ib_recv_clear_one() 95 ic, recv); in rdsv3_ib_recv_clear_one() 99 rdsv3_ib_recv_clear_ring(struct rdsv3_ib_connection *ic) in rdsv3_ib_recv_clear_ring() argument [all …]
|
H A D | ib_send.c | 86 rdsv3_ib_send_unmap_rdma(struct rdsv3_ib_connection *ic, in rdsv3_ib_send_unmap_rdma() argument 89 RDSV3_DPRINTF4("rdsv3_ib_send_unmap_rdma", "ic: %p, op: %p", ic, op); in rdsv3_ib_send_unmap_rdma() 92 if (ic->i_cm_id) { in rdsv3_ib_send_unmap_rdma() 93 rdsv3_ib_dma_unmap_sg_rdma(ic->i_cm_id->device, in rdsv3_ib_send_unmap_rdma() 103 rdsv3_ib_send_unmap_rm(struct rdsv3_ib_connection *ic, in rdsv3_ib_send_unmap_rm() argument 110 ic, send, rm); in rdsv3_ib_send_unmap_rm() 114 rdsv3_ib_dma_unmap_sg(ic->i_cm_id->device, in rdsv3_ib_send_unmap_rm() 121 rdsv3_ib_send_unmap_rdma(ic, rm->m_rdma_op); in rdsv3_ib_send_unmap_rm() 168 rdsv3_ib_send_init_ring(struct rdsv3_ib_connection *ic) in rdsv3_ib_send_init_ring() argument 173 RDSV3_DPRINTF4("rdsv3_ib_send_init_ring", "ic: %p", ic); in rdsv3_ib_send_init_ring() [all …]
|
/titanic_41/usr/src/uts/common/io/zyd/ |
H A D | zyd.c | 63 static int zyd_newstate(struct ieee80211com *ic, 208 struct ieee80211com *ic = &sc->ic; in zyd_next_scan() local 212 if (ic->ic_state == IEEE80211_S_SCAN) { in zyd_next_scan() 213 ieee80211_next_scan(ic); in zyd_next_scan() 226 struct ieee80211com *ic = &sc->ic; in zyd_receive() local 263 in = ieee80211_find_rxnode(ic, wh); in zyd_receive() 266 (void) ieee80211_input(ic, m, in, (int32_t)rssi, 0); in zyd_receive() 281 zyd_send(ieee80211com_t *ic, mblk_t *mp, uint8_t type) in zyd_send() argument 283 struct zyd_softc *sc = ZYD_IC_TO_SOFTC(ic); in zyd_send() 338 in = ieee80211_find_txnode(ic, wh->i_addr1); in zyd_send() [all …]
|
/titanic_41/usr/src/lib/libilb/common/ |
H A D | ilb_hc.c | 44 ilb_comm_t *ic; in ilb_create_hc() local 52 if ((ic = i_ilb_alloc_req(ILBD_CREATE_HC, &ic_sz)) == NULL) in ilb_create_hc() 55 (void) memcpy(&ic->ic_data, hc, sizeof (ilb_hc_info_t)); in ilb_create_hc() 57 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_create_hc() 61 if (ic->ic_cmd != ILBD_CMD_OK) in ilb_create_hc() 62 rc = *(ilb_status_t *)&ic->ic_data; in ilb_create_hc() 65 free(ic); in ilb_create_hc() 77 ilb_comm_t *ic; in ilb_destroy_hc() local 83 if ((ic = i_ilb_alloc_req(ILBD_DESTROY_HC, &ic_sz)) == NULL) in ilb_destroy_hc() 86 (void) strlcpy((char *)&ic->ic_data, hcname, sizeof (ilbd_name_t)); in ilb_destroy_hc() [all …]
|
H A D | ilb_sg.c | 40 ilb_comm_t *ic; in i_ilb_addrem_sg() local 49 if ((ic = i_ilb_alloc_req(cmd, &ic_sz)) == NULL) in i_ilb_addrem_sg() 52 (void) strlcpy((char *)&ic->ic_data, sgname, sizeof (ilbd_name_t)); in i_ilb_addrem_sg() 54 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in i_ilb_addrem_sg() 58 if (ic->ic_cmd != ILBD_CMD_OK) in i_ilb_addrem_sg() 59 rc = *(ilb_status_t *)&ic->ic_data; in i_ilb_addrem_sg() 61 free(ic); in i_ilb_addrem_sg() 85 ilb_comm_t *ic; in i_ilb_addrem_server_to_group() local 96 if ((ic = i_ilb_alloc_req(cmd, &ic_sz)) == NULL) in i_ilb_addrem_server_to_group() 99 sg = (ilb_sg_info_t *)&ic->ic_data; in i_ilb_addrem_server_to_group() [all …]
|
H A D | ilb_rules.c | 98 ilb_comm_t *ic; in ilb_create_rule() local 105 if ((ic = i_ilb_alloc_req(ILBD_CREATE_RULE, &ic_sz)) == NULL) in ilb_create_rule() 107 rl = (ilb_rule_info_t *)&ic->ic_data; in ilb_create_rule() 138 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz); in ilb_create_rule() 142 if (ic->ic_cmd != ILBD_CMD_OK) in ilb_create_rule() 143 rc = *(ilb_status_t *)&ic->ic_data; in ilb_create_rule() 146 free(ic); in ilb_create_rule() 154 ilb_comm_t *ic; in i_ilb_rule_action() local 160 if ((ic = i_ilb_alloc_req(cmd, &ic_sz)) == NULL) in i_ilb_rule_action() 164 bzero(&ic->ic_data, sizeof (ilbd_name_t)); in i_ilb_rule_action() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | net80211_crypto.h | 208 #define KEY_UPDATE_BEGIN(ic) \ argument 209 (ic)->ic_crypto.cs_key_update_begin(ic) 210 #define KEY_UPDATE_END(ic) \ argument 211 (ic)->ic_crypto.cs_key_update_end(ic) 215 #define DEV_KEY_ALLOC(ic, k, kix, rkix) \ argument 216 (ic)->ic_crypto.cs_key_alloc(ic, k, kix, rkix) 217 #define DEV_KEY_DELETE(ic, k) \ argument 218 (ic)->ic_crypto.cs_key_delete(ic, k) 219 #define DEV_KEY_SET(ic, k, m) \ argument 220 (ic)->ic_crypto.cs_key_set(ic, k, m) [all …]
|
/titanic_41/usr/src/uts/common/sys/idm/ |
H A D | idm_transport.h | 68 typedef void (transport_tx_op_t)(struct idm_conn_s *ic, struct idm_pdu_s *pdu); 80 typedef void (transport_rx_datain_op_t)(struct idm_conn_s *ic, 82 typedef void (transport_rx_rtt_op_t)(struct idm_conn_s *ic, 86 typedef void (transport_rx_dataout_op_t)(struct idm_conn_s *ic, 90 typedef idm_status_t (transport_alloc_conn_rsrc_op_t)(struct idm_conn_s *ic); 91 typedef idm_status_t (transport_free_conn_rsrc_op_t)(struct idm_conn_s *ic); 95 idm_conn_s *ic); 97 idm_conn_s *ic); 98 typedef idm_status_t (transport_conn_terminate_op_t)(struct idm_conn_s *ic); 105 idm_conn_s *ic, nvlist_t *request_nvl, nvlist_t *response_nvl, [all …]
|
/titanic_41/usr/src/uts/common/io/iwi/ |
H A D | ipw2200.c | 172 static int ipw2200_send(struct ieee80211com *ic, mblk_t *mp, uint8_t type); 181 static int ipw2200_newstate(struct ieee80211com *ic, 198 extern uint8_t ieee80211_crypto_getciphertype(ieee80211com_t *ic); 199 extern void ieee80211_notify_node_join(ieee80211com_t *ic, 201 extern void ieee80211_notify_node_leave(ieee80211com_t *ic, 334 struct ieee80211com *ic; in ipw2200_attach() local 472 ic = &sc->sc_ic; in ipw2200_attach() 473 ic->ic_phytype = IEEE80211_T_OFDM; in ipw2200_attach() 474 ic->ic_opmode = IEEE80211_M_STA; in ipw2200_attach() 475 ic->ic_state = IEEE80211_S_INIT; in ipw2200_attach() [all …]
|
/titanic_41/usr/src/uts/common/io/ural/ |
H A D | ural.c | 413 struct ieee80211com *ic = &sc->sc_ic; in ural_txeof() local 432 mac_tx_update(ic->ic_mach); in ural_txeof() 444 struct ieee80211com *ic = &sc->sc_ic; in ural_rxeof() local 515 ni = ieee80211_find_rxnode(ic, wh); in ural_rxeof() 518 (void) ieee80211_input(ic, m, ni, desc->rssi, 0); in ural_rxeof() 539 ural_ack_rate(struct ieee80211com *ic, int rate) in ural_ack_rate() argument 548 return ((ic->ic_curmode == IEEE80211_MODE_11B) ? 4 : rate); in ural_ack_rate() 622 struct ieee80211com *ic = &sc->sc_ic; in ural_setup_tx_desc() local 654 if (rate != 2 && (ic->ic_flags & IEEE80211_F_SHPREAMBLE)) in ural_setup_tx_desc() 665 ural_send(ieee80211com_t *ic, mblk_t *mp, uint8_t type) in ural_send() argument [all …]
|
/titanic_41/usr/src/uts/common/io/atu/ |
H A D | atu.c | 158 struct ieee80211com *ic = &sc->sc_ic; in atu_get_config() local 176 bcopy(rfmd_conf.MACAddr, ic->ic_macaddr, IEEE80211_ADDR_LEN); in atu_get_config() 188 bcopy(intersil_conf.MACAddr, ic->ic_macaddr, in atu_get_config() 307 struct ieee80211com *ic = &sc->sc_ic; in atu_config() local 313 err = atu_send_mib(sc, MIB_MAC_ADDR_STA, ic->ic_macaddr); in atu_config() 332 if (ic->ic_flags & IEEE80211_F_PRIVACY) { in atu_config() 333 k = ic->ic_nw_keys + ic->ic_def_txkey; in atu_config() 348 cmd.WEP_DefaultKeyID = ic->ic_def_txkey; in atu_config() 350 k = ic->ic_nw_keys + i; in atu_config() 360 bcopy(ic->ic_des_essid, cmd.SSID, ic->ic_des_esslen); in atu_config() [all …]
|
/titanic_41/usr/src/uts/common/io/rum/ |
H A D | rum.c | 478 struct ieee80211com *ic = &sc->sc_ic; in rum_txeof() local 497 mac_tx_update(ic->ic_mach); in rum_txeof() 509 struct ieee80211com *ic = &sc->sc_ic; in rum_rxeof() local 577 ni = ieee80211_find_rxnode(ic, wh); in rum_rxeof() 580 (void) ieee80211_input(ic, m, ni, desc->rssi, 0); in rum_rxeof() 601 rum_ack_rate(struct ieee80211com *ic, int rate) in rum_ack_rate() argument 610 return ((ic->ic_curmode == IEEE80211_MODE_11B) ? 4 : rate); in rum_ack_rate() 684 struct ieee80211com *ic = &sc->sc_ic; in rum_setup_tx_desc() local 718 if (rate != 2 && (ic->ic_flags & IEEE80211_F_SHPREAMBLE)) in rum_setup_tx_desc() 726 rum_send(ieee80211com_t *ic, mblk_t *mp, uint8_t type) in rum_send() argument [all …]
|