Lines Matching refs:sc_ibss
588 mutex_init(&sc->sc_ibss.node_tb_lock, NULL, MUTEX_DRIVER, in iwk_attach()
1851 mutex_enter(&sc->sc_ibss.node_tb_lock); in iwk_key_set()
1858 if (sc->sc_ibss.ibss_node_tb[index1].used && in iwk_key_set()
1859 IEEE80211_ADDR_EQ(sc->sc_ibss. in iwk_key_set()
1868 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_key_set()
1875 sc->sc_ibss.ibss_node_tb[index1]. in iwk_key_set()
1877 sc->sc_ibss.ibss_node_tb[index1]. in iwk_key_set()
1880 sc->sc_ibss.ibss_node_tb[index1]. in iwk_key_set()
1882 sc->sc_ibss.ibss_node_tb[index1]. in iwk_key_set()
1886 (void) memcpy(sc->sc_ibss.ibss_node_tb[index1].node.key, in iwk_key_set()
1888 sc->sc_ibss.ibss_node_tb[index1].node.key_flags |= in iwk_key_set()
1890 sc->sc_ibss.ibss_node_tb[index1].node.key_flags = in iwk_key_set()
1891 LE_16(sc->sc_ibss.ibss_node_tb[index1]. in iwk_key_set()
1893 sc->sc_ibss.ibss_node_tb[index1].node.sta_mask = in iwk_key_set()
1895 sc->sc_ibss.ibss_node_tb[index1].node.control = 1; in iwk_key_set()
1899 &sc->sc_ibss.ibss_node_tb[index1].node, in iwk_key_set()
1905 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_key_set()
1910 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_key_set()
2706 mutex_enter(&sc->sc_ibss.node_tb_lock); in iwk_send()
2713 if (sc->sc_ibss.ibss_node_tb[index1].used && in iwk_send()
2714 IEEE80211_ADDR_EQ(sc->sc_ibss. in iwk_send()
2731 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_send()
2742 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_send()
5866 if (sc->sc_ibss.ibss_beacon.syncbeacon && in == ic->ic_bss && in iwk_recv_mgmt()
5869 &sc->sc_ibss.ibss_beacon.iwk_boff, in iwk_recv_mgmt()
5870 sc->sc_ibss.ibss_beacon.mp, 0)) { in iwk_recv_mgmt()
5871 bcopy(sc->sc_ibss.ibss_beacon.mp->b_rptr, in iwk_recv_mgmt()
5872 sc->sc_ibss.ibss_beacon.beacon_cmd. in iwk_recv_mgmt()
5874 MBLKL(sc->sc_ibss.ibss_beacon.mp)); in iwk_recv_mgmt()
5877 &sc->sc_ibss.ibss_beacon.beacon_cmd, in iwk_recv_mgmt()
5878 sc->sc_ibss.ibss_beacon.beacon_cmd_len, 1); in iwk_recv_mgmt()
5883 sc->sc_ibss.ibss_beacon.syncbeacon = 0; in iwk_recv_mgmt()
5888 mutex_enter(&sc->sc_ibss.node_tb_lock); in iwk_recv_mgmt()
5894 if (sc->sc_ibss.ibss_node_tb[index1].used && in iwk_recv_mgmt()
5895 IEEE80211_ADDR_EQ(sc->sc_ibss. in iwk_recv_mgmt()
5913 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_recv_mgmt()
6116 mutex_enter(&sc->sc_ibss.node_tb_lock); in iwk_run_state_config_ibss()
6123 sc->sc_ibss.ibss_node_tb[i].used = 0; in iwk_run_state_config_ibss()
6124 (void) memset(&sc->sc_ibss.ibss_node_tb[i].node, in iwk_run_state_config_ibss()
6129 sc->sc_ibss.node_number = 0; in iwk_run_state_config_ibss()
6131 mutex_exit(&sc->sc_ibss.node_tb_lock); in iwk_run_state_config_ibss()
6364 tx_beacon_p = &sc->sc_ibss.ibss_beacon.beacon_cmd; in iwk_start_tx_beacon()
6375 if (sc->sc_ibss.ibss_beacon.mp != NULL) { in iwk_start_tx_beacon()
6376 freemsg(sc->sc_ibss.ibss_beacon.mp); in iwk_start_tx_beacon()
6377 sc->sc_ibss.ibss_beacon.mp = NULL; in iwk_start_tx_beacon()
6380 sc->sc_ibss.ibss_beacon.mp = in iwk_start_tx_beacon()
6382 &sc->sc_ibss.ibss_beacon.iwk_boff); in iwk_start_tx_beacon()
6383 if (sc->sc_ibss.ibss_beacon.mp == NULL) { in iwk_start_tx_beacon()
6389 mp = sc->sc_ibss.ibss_beacon.mp; in iwk_start_tx_beacon()
6396 sc->sc_ibss.ibss_beacon.beacon_cmd_len = in iwk_start_tx_beacon()
6421 sc->sc_ibss.ibss_beacon.syncbeacon = 1; in iwk_start_tx_beacon()
6424 &sc->sc_ibss.ibss_beacon.iwk_boff, in iwk_start_tx_beacon()
6433 sc->sc_ibss.ibss_beacon.beacon_cmd_len, in iwk_start_tx_beacon()
6441 sc->sc_ibss.ibss_beacon.syncbeacon = 0; in iwk_start_tx_beacon()
6469 if (!sc->sc_ibss.ibss_node_tb[index].used) { in iwk_clean_add_node_ibss()
6478 sc->sc_ibss.node_number >= 25) { in iwk_clean_add_node_ibss()
6487 sc->sc_ibss.ibss_node_tb[i].used = 0; in iwk_clean_add_node_ibss()
6488 (void) memset(&sc->sc_ibss.ibss_node_tb[i].node, in iwk_clean_add_node_ibss()
6492 sc->sc_ibss.node_number = 0; in iwk_clean_add_node_ibss()
6543 ibss_node_p = &sc->sc_ibss.ibss_node_tb[index]; in iwk_clean_add_node_ibss()
6566 sc->sc_ibss.node_number++; in iwk_clean_add_node_ibss()