Lines Matching refs:handshaker
314 if ( dev->handshaker && dev->handshaker->stop && in net80211_netdev_close()
315 dev->handshaker->started ) in net80211_netdev_close()
316 dev->handshaker->stop ( dev ); in net80211_netdev_close()
319 free ( dev->handshaker ); in net80211_netdev_close()
321 dev->handshaker = NULL; in net80211_netdev_close()
1803 if ( dev->handshaker && dev->handshaker->start && in net80211_step_associate()
1804 ! dev->handshaker->started ) { in net80211_step_associate()
1805 rc = dev->handshaker->start ( dev ); in net80211_step_associate()
1808 dev->handshaker->started = 1; in net80211_step_associate()
1822 if ( ! dev->handshaker || ! dev->handshaker->step ) { in net80211_step_associate()
1827 rc = dev->handshaker->step ( dev ); in net80211_step_associate()
1915 if ( dev->handshaker && dev->handshaker->change_key && in net80211_check_settings_update()
1916 dev->handshaker->change_key ( dev ) < 0 ) in net80211_check_settings_update()
2124 struct net80211_handshaker *handshaker; in net80211_prepare_assoc() local
2158 if ( dev->handshaker && dev->handshaker->stop && in net80211_prepare_assoc()
2159 dev->handshaker->started ) in net80211_prepare_assoc()
2160 dev->handshaker->stop ( dev ); in net80211_prepare_assoc()
2161 free ( dev->handshaker ); in net80211_prepare_assoc()
2162 dev->handshaker = NULL; in net80211_prepare_assoc()
2168 for_each_table_entry ( handshaker, NET80211_HANDSHAKERS ) { in net80211_prepare_assoc()
2169 if ( handshaker->protocol == wlan->handshaking ) { in net80211_prepare_assoc()
2170 dev->handshaker = zalloc ( sizeof ( *handshaker ) + in net80211_prepare_assoc()
2171 handshaker->priv_len ); in net80211_prepare_assoc()
2172 if ( ! dev->handshaker ) in net80211_prepare_assoc()
2175 memcpy ( dev->handshaker, handshaker, in net80211_prepare_assoc()
2176 sizeof ( *handshaker ) ); in net80211_prepare_assoc()
2177 dev->handshaker->priv = ( ( void * ) dev->handshaker + in net80211_prepare_assoc()
2178 sizeof ( *handshaker ) ); in net80211_prepare_assoc()
2184 ! dev->handshaker ) { in net80211_prepare_assoc()
2191 if ( dev->handshaker ) { in net80211_prepare_assoc()
2192 rc = dev->handshaker->init ( dev ); in net80211_prepare_assoc()