HelenOS sources
ieee80211_dev 175 uspace/drv/nic/ar9271/ar9271.c if (ieee80211_is_connected(ar9271->ieee80211_dev))
ieee80211_dev 317 uspace/drv/nic/ar9271/ar9271.c ieee80211_rx_handler(ar9271->ieee80211_dev,
ieee80211_dev 331 uspace/drv/nic/ar9271/ar9271.c static errno_t ar9271_ieee80211_set_freq(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 334 uspace/drv/nic/ar9271/ar9271.c assert(ieee80211_dev);
ieee80211_dev 336 uspace/drv/nic/ar9271/ar9271.c ar9271_t *ar9271 = (ar9271_t *) ieee80211_get_specific(ieee80211_dev);
ieee80211_dev 364 uspace/drv/nic/ar9271/ar9271.c static errno_t ar9271_ieee80211_bssid_change(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 367 uspace/drv/nic/ar9271/ar9271.c assert(ieee80211_dev);
ieee80211_dev 369 uspace/drv/nic/ar9271/ar9271.c ar9271_t *ar9271 = (ar9271_t *) ieee80211_get_specific(ieee80211_dev);
ieee80211_dev 373 uspace/drv/nic/ar9271/ar9271.c ieee80211_query_bssid(ieee80211_dev, &bssid);
ieee80211_dev 413 uspace/drv/nic/ar9271/ar9271.c static errno_t ar9271_ieee80211_key_config(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 416 uspace/drv/nic/ar9271/ar9271.c assert(ieee80211_dev);
ieee80211_dev 418 uspace/drv/nic/ar9271/ar9271.c ar9271_t *ar9271 = (ar9271_t *) ieee80211_get_specific(ieee80211_dev);
ieee80211_dev 429 uspace/drv/nic/ar9271/ar9271.c ieee80211_query_bssid(ieee80211_dev, &bssid);
ieee80211_dev 522 uspace/drv/nic/ar9271/ar9271.c ieee80211_setup_key_confirm(ieee80211_dev, true);
ieee80211_dev 525 uspace/drv/nic/ar9271/ar9271.c ieee80211_setup_key_confirm(ieee80211_dev, false);
ieee80211_dev 531 uspace/drv/nic/ar9271/ar9271.c static errno_t ar9271_ieee80211_tx_handler(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 534 uspace/drv/nic/ar9271/ar9271.c assert(ieee80211_dev);
ieee80211_dev 541 uspace/drv/nic/ar9271/ar9271.c ar9271_t *ar9271 = (ar9271_t *) ieee80211_get_specific(ieee80211_dev);
ieee80211_dev 563 uspace/drv/nic/ar9271/ar9271.c if (ieee80211_query_using_key(ieee80211_dev)) {
ieee80211_dev 567 uspace/drv/nic/ar9271/ar9271.c ieee80211_get_pairwise_security(ieee80211_dev);
ieee80211_dev 620 uspace/drv/nic/ar9271/ar9271.c static errno_t ar9271_ieee80211_start(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 622 uspace/drv/nic/ar9271/ar9271.c assert(ieee80211_dev);
ieee80211_dev 624 uspace/drv/nic/ar9271/ar9271.c ar9271_t *ar9271 = (ar9271_t *) ieee80211_get_specific(ieee80211_dev);
ieee80211_dev 671 uspace/drv/nic/ar9271/ar9271.c ieee80211_set_ready(ieee80211_dev, true);
ieee80211_dev 700 uspace/drv/nic/ar9271/ar9271.c ar9271->ieee80211_dev = ieee80211_device_create();
ieee80211_dev 701 uspace/drv/nic/ar9271/ar9271.c if (!ar9271->ieee80211_dev) {
ieee80211_dev 708 uspace/drv/nic/ar9271/ar9271.c rc = ieee80211_device_init(ar9271->ieee80211_dev, ar9271->ddf_dev);
ieee80211_dev 710 uspace/drv/nic/ar9271/ar9271.c free(ar9271->ieee80211_dev);
ieee80211_dev 717 uspace/drv/nic/ar9271/ar9271.c ieee80211_set_specific(ar9271->ieee80211_dev, ar9271);
ieee80211_dev 722 uspace/drv/nic/ar9271/ar9271.c free(ar9271->ieee80211_dev);
ieee80211_dev 729 uspace/drv/nic/ar9271/ar9271.c rc = htc_device_init(ar9271->ath_device, ar9271->ieee80211_dev,
ieee80211_dev 733 uspace/drv/nic/ar9271/ar9271.c free(ar9271->ieee80211_dev);
ieee80211_dev 924 uspace/drv/nic/ar9271/ar9271.c rc = ieee80211_init(ar9271->ieee80211_dev, &ar9271_ieee80211_ops,
ieee80211_dev 210 uspace/drv/nic/ar9271/ar9271.h ieee80211_dev_t *ieee80211_dev;
ieee80211_dev 78 uspace/drv/nic/ar9271/htc.c nic_get_from_ddf_dev(ieee80211_get_ddf_dev(htc_device->ieee80211_dev));
ieee80211_dev 85 uspace/drv/nic/ar9271/htc.c ieee80211_query_current_op_mode(htc_device->ieee80211_dev);
ieee80211_dev 432 uspace/drv/nic/ar9271/htc.c errno_t htc_device_init(ath_t *ath_device, ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 441 uspace/drv/nic/ar9271/htc.c htc_device->ieee80211_dev = ieee80211_dev;
ieee80211_dev 125 uspace/drv/nic/ar9271/htc.h ieee80211_dev_t *ieee80211_dev;
ieee80211_dev 292 uspace/drv/nic/ar9271/hw.c ieee80211_report_current_op_mode(ar9271->ieee80211_dev, op_mode);
ieee80211_dev 370 uspace/drv/nic/ar9271/hw.c ieee80211_report_current_freq(ar9271->ieee80211_dev, freq);
ieee80211_dev 429 uspace/drv/nic/ar9271/hw.c ieee80211_dev_t *ieee80211_dev = ar9271->ieee80211_dev;
ieee80211_dev 432 uspace/drv/nic/ar9271/hw.c ieee80211_query_bssid(ieee80211_dev, &bssid);
ieee80211_dev 442 uspace/drv/nic/ar9271/hw.c ((ieee80211_get_aid(ieee80211_dev) & 0x3fff) << 16));
ieee80211_dev 47 uspace/lib/ieee80211/include/ieee80211.h struct ieee80211_dev;
ieee80211_dev 48 uspace/lib/ieee80211/include/ieee80211.h typedef struct ieee80211_dev ieee80211_dev_t;
ieee80211_dev 108 uspace/lib/ieee80211/include/ieee80211.h errno_t (*start)(struct ieee80211_dev *);
ieee80211_dev 120 uspace/lib/ieee80211/include/ieee80211.h errno_t (*scan)(struct ieee80211_dev *);
ieee80211_dev 134 uspace/lib/ieee80211/include/ieee80211.h errno_t (*tx_handler)(struct ieee80211_dev *, void *, size_t);
ieee80211_dev 144 uspace/lib/ieee80211/include/ieee80211.h errno_t (*set_freq)(struct ieee80211_dev *, uint16_t);
ieee80211_dev 154 uspace/lib/ieee80211/include/ieee80211.h errno_t (*bssid_change)(struct ieee80211_dev *, bool);
ieee80211_dev 166 uspace/lib/ieee80211/include/ieee80211.h errno_t (*key_config)(struct ieee80211_dev *,
ieee80211_dev 231 uspace/lib/ieee80211/src/ieee80211.c static uint16_t ieee80211_get_sequence_number(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 233 uspace/lib/ieee80211/src/ieee80211.c uint16_t ret_val = ieee80211_dev->sequence_number;
ieee80211_dev 234 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->sequence_number += (1 << 4);
ieee80211_dev 246 uspace/lib/ieee80211/src/ieee80211.c void *ieee80211_get_specific(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 248 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_dev->specific;
ieee80211_dev 257 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_set_specific(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 260 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->specific = specific;
ieee80211_dev 270 uspace/lib/ieee80211/src/ieee80211.c ddf_dev_t *ieee80211_get_ddf_dev(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 272 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_dev->ddf_dev;
ieee80211_dev 283 uspace/lib/ieee80211/src/ieee80211.c ieee80211_query_current_op_mode(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 285 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 286 uspace/lib/ieee80211/src/ieee80211.c ieee80211_operating_mode_t op_mode = ieee80211_dev->current_op_mode;
ieee80211_dev 287 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 299 uspace/lib/ieee80211/src/ieee80211.c uint16_t ieee80211_query_current_freq(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 301 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 302 uspace/lib/ieee80211/src/ieee80211.c uint16_t current_freq = ieee80211_dev->current_freq;
ieee80211_dev 303 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 316 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_query_bssid(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 319 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 323 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->bssid_info.res_link;
ieee80211_dev 336 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 346 uspace/lib/ieee80211/src/ieee80211.c uint16_t ieee80211_get_aid(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 348 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 349 uspace/lib/ieee80211/src/ieee80211.c uint16_t aid = ieee80211_dev->bssid_info.aid;
ieee80211_dev 350 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 362 uspace/lib/ieee80211/src/ieee80211.c int ieee80211_get_pairwise_security(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 364 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 366 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->bssid_info.res_link;
ieee80211_dev 368 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 380 uspace/lib/ieee80211/src/ieee80211.c bool ieee80211_is_connected(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 382 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 384 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->current_auth_phase == IEEE80211_AUTH_CONNECTED;
ieee80211_dev 385 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 390 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_set_auth_phase(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 393 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 394 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->current_auth_phase = auth_phase;
ieee80211_dev 395 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 398 uspace/lib/ieee80211/src/ieee80211.c ieee80211_auth_phase_t ieee80211_get_auth_phase(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 400 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 401 uspace/lib/ieee80211/src/ieee80211.c ieee80211_auth_phase_t conn_state = ieee80211_dev->current_auth_phase;
ieee80211_dev 402 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 407 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_set_connect_request(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 409 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 410 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->pending_conn_req = true;
ieee80211_dev 411 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 414 uspace/lib/ieee80211/src/ieee80211.c bool ieee80211_pending_connect_request(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 416 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 417 uspace/lib/ieee80211/src/ieee80211.c bool conn_request = ieee80211_dev->pending_conn_req;
ieee80211_dev 418 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->pending_conn_req = false;
ieee80211_dev 419 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 430 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_report_current_op_mode(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 433 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 434 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->current_op_mode = op_mode;
ieee80211_dev 435 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 444 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_report_current_freq(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 447 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 448 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->current_freq = freq;
ieee80211_dev 449 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 459 uspace/lib/ieee80211/src/ieee80211.c bool ieee80211_is_ready(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 461 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 462 uspace/lib/ieee80211/src/ieee80211.c bool ready_state = ieee80211_dev->ready;
ieee80211_dev 463 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 474 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_set_ready(ieee80211_dev_t *ieee80211_dev, bool ready)
ieee80211_dev 476 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 477 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ready = ready;
ieee80211_dev 478 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 481 uspace/lib/ieee80211/src/ieee80211.c bool ieee80211_query_using_key(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 483 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 484 uspace/lib/ieee80211/src/ieee80211.c bool using_key = ieee80211_dev->using_hw_key;
ieee80211_dev 485 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 490 uspace/lib/ieee80211/src/ieee80211.c void ieee80211_setup_key_confirm(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 493 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 494 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->using_hw_key = using_key;
ieee80211_dev 495 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 502 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev_t *ieee80211_dev = (ieee80211_dev_t *) arg;
ieee80211_dev 505 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->scan(ieee80211_dev);
ieee80211_dev 522 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev_t *ieee80211_dev = nic_get_specific(nic_data);
ieee80211_dev 524 uspace/lib/ieee80211/src/ieee80211.c if (ieee80211_dev->started)
ieee80211_dev 527 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->started = true;
ieee80211_dev 529 uspace/lib/ieee80211/src/ieee80211.c errno_t rc = ieee80211_dev->ops->start(ieee80211_dev);
ieee80211_dev 534 uspace/lib/ieee80211/src/ieee80211.c fid_t fibril = fibril_create(ieee80211_scan, ieee80211_dev);
ieee80211_dev 552 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev_t *ieee80211_dev = (ieee80211_dev_t *)
ieee80211_dev 556 uspace/lib/ieee80211/src/ieee80211.c ieee80211_get_auth_phase(ieee80211_dev);
ieee80211_dev 562 uspace/lib/ieee80211/src/ieee80211.c &ieee80211_dev->bssid_info.res_link->scan_result;
ieee80211_dev 579 uspace/lib/ieee80211/src/ieee80211.c if (ieee80211_query_using_key(ieee80211_dev)) {
ieee80211_dev 624 uspace/lib/ieee80211/src/ieee80211.c data_header->seq_ctrl = ieee80211_get_sequence_number(ieee80211_dev);
ieee80211_dev 633 uspace/lib/ieee80211/src/ieee80211.c uint8_t *tx_mic = ieee80211_dev->bssid_info.ptk +
ieee80211_dev 639 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev,
ieee80211_dev 657 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_implement(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 682 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops = ieee80211_ops;
ieee80211_dev 708 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->iface = ieee80211_iface;
ieee80211_dev 733 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_device_init(ieee80211_dev_t *ieee80211_dev, ddf_dev_t *ddf_dev)
ieee80211_dev 735 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ddf_dev = ddf_dev;
ieee80211_dev 736 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->started = false;
ieee80211_dev 737 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ready = false;
ieee80211_dev 738 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->using_hw_key = false;
ieee80211_dev 739 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->pending_conn_req = false;
ieee80211_dev 740 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->current_op_mode = IEEE80211_OPMODE_STATION;
ieee80211_dev 741 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->current_auth_phase = IEEE80211_AUTH_DISCONNECTED;
ieee80211_dev 743 uspace/lib/ieee80211/src/ieee80211.c memcpy(ieee80211_dev->bssid_mask.address, ieee80211_broadcast_mac_addr,
ieee80211_dev 746 uspace/lib/ieee80211/src/ieee80211.c ieee80211_scan_result_list_init(&ieee80211_dev->ap_list);
ieee80211_dev 748 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_initialize(&ieee80211_dev->scan_mutex);
ieee80211_dev 749 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_initialize(&ieee80211_dev->gen_mutex);
ieee80211_dev 750 uspace/lib/ieee80211/src/ieee80211.c fibril_condvar_initialize(&ieee80211_dev->gen_cond);
ieee80211_dev 757 uspace/lib/ieee80211/src/ieee80211.c nic_set_specific(nic, ieee80211_dev);
ieee80211_dev 773 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_init(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 777 uspace/lib/ieee80211/src/ieee80211.c errno_t rc = ieee80211_implement(ieee80211_dev,
ieee80211_dev 783 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 788 uspace/lib/ieee80211/src/ieee80211.c ddf_fun_t *fun = ddf_fun_create(ieee80211_dev->ddf_dev, fun_exposed,
ieee80211_dev 854 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_probe_request(ieee80211_dev_t *ieee80211_dev, char *ssid)
ieee80211_dev 856 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 864 uspace/lib/ieee80211/src/ieee80211.c ieee80211_freq_to_channel(ieee80211_dev->current_freq);
ieee80211_dev 893 uspace/lib/ieee80211/src/ieee80211.c host2uint16_t_le(ieee80211_get_sequence_number(ieee80211_dev));
ieee80211_dev 907 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
ieee80211_dev 921 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_authenticate(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 923 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 928 uspace/lib/ieee80211/src/ieee80211.c &ieee80211_dev->bssid_info.res_link->scan_result;
ieee80211_dev 955 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
ieee80211_dev 971 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_associate(ieee80211_dev_t *ieee80211_dev, char *password)
ieee80211_dev 973 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 978 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->bssid_info.res_link;
ieee80211_dev 1038 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
ieee80211_dev 1043 uspace/lib/ieee80211/src/ieee80211.c memset(ieee80211_dev->bssid_info.password, 0, IEEE80211_MAX_PASSW_LEN);
ieee80211_dev 1044 uspace/lib/ieee80211/src/ieee80211.c memcpy(ieee80211_dev->bssid_info.password, password,
ieee80211_dev 1061 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_deauthenticate(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 1064 uspace/lib/ieee80211/src/ieee80211.c &ieee80211_dev->bssid_info.res_link->scan_result;
ieee80211_dev 1066 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 1089 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->tx_handler(ieee80211_dev, buffer, buffer_size);
ieee80211_dev 1093 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->bssid_info.res_link = NULL;
ieee80211_dev 1094 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->bssid_change(ieee80211_dev, false);
ieee80211_dev 1096 uspace/lib/ieee80211/src/ieee80211.c if (ieee80211_query_using_key(ieee80211_dev))
ieee80211_dev 1097 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->key_config(ieee80211_dev, NULL, false);
ieee80211_dev 1099 uspace/lib/ieee80211/src/ieee80211.c ieee80211_set_auth_phase(ieee80211_dev, IEEE80211_AUTH_DISCONNECTED);
ieee80211_dev 1175 uspace/lib/ieee80211/src/ieee80211.c static uint8_t *ieee80211_process_ies(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1245 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_process_probe_response(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1257 uspace/lib/ieee80211/src/ieee80211.c &ieee80211_dev->ap_list;
ieee80211_dev 1310 uspace/lib/ieee80211/src/ieee80211.c ieee80211_process_ies(ieee80211_dev, ap_data, rest_ies_start,
ieee80211_dev 1315 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 1317 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 1331 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_process_auth_response(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1339 uspace/lib/ieee80211/src/ieee80211.c ieee80211_set_auth_phase(ieee80211_dev,
ieee80211_dev 1342 uspace/lib/ieee80211/src/ieee80211.c ieee80211_set_auth_phase(ieee80211_dev,
ieee80211_dev 1345 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 1346 uspace/lib/ieee80211/src/ieee80211.c fibril_condvar_signal(&ieee80211_dev->gen_cond);
ieee80211_dev 1347 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 1360 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_process_assoc_response(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1368 uspace/lib/ieee80211/src/ieee80211.c ieee80211_set_auth_phase(ieee80211_dev,
ieee80211_dev 1371 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->bssid_info.aid =
ieee80211_dev 1373 uspace/lib/ieee80211/src/ieee80211.c ieee80211_set_auth_phase(ieee80211_dev,
ieee80211_dev 1375 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->bssid_change(ieee80211_dev, true);
ieee80211_dev 1378 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 1379 uspace/lib/ieee80211/src/ieee80211.c fibril_condvar_signal(&ieee80211_dev->gen_cond);
ieee80211_dev 1380 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 1385 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_process_4way_handshake(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1392 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->bssid_info.res_link;
ieee80211_dev 1400 uspace/lib/ieee80211/src/ieee80211.c uint8_t *ptk = ieee80211_dev->bssid_info.ptk;
ieee80211_dev 1401 uspace/lib/ieee80211/src/ieee80211.c uint8_t *gtk = ieee80211_dev->bssid_info.gtk;
ieee80211_dev 1446 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 1510 uspace/lib/ieee80211/src/ieee80211.c ieee80211_process_ies(ieee80211_dev,
ieee80211_dev 1539 uspace/lib/ieee80211/src/ieee80211.c pbkdf2((uint8_t *) ieee80211_dev->bssid_info.password,
ieee80211_dev 1540 uspace/lib/ieee80211/src/ieee80211.c str_size(ieee80211_dev->bssid_info.password),
ieee80211_dev 1589 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->key_config(ieee80211_dev,
ieee80211_dev 1600 uspace/lib/ieee80211/src/ieee80211.c ieee80211_dev->ops->key_config(ieee80211_dev,
ieee80211_dev 1606 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 1607 uspace/lib/ieee80211/src/ieee80211.c fibril_condvar_signal(&ieee80211_dev->gen_cond);
ieee80211_dev 1608 uspace/lib/ieee80211/src/ieee80211.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 1614 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_process_eapol_frame(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1621 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_process_4way_handshake(ieee80211_dev, buffer,
ieee80211_dev 1636 uspace/lib/ieee80211/src/ieee80211.c static errno_t ieee80211_process_data(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 1643 uspace/lib/ieee80211/src/ieee80211.c nic_t *nic = nic_get_from_ddf_dev(ieee80211_dev->ddf_dev);
ieee80211_dev 1656 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_process_eapol_frame(ieee80211_dev,
ieee80211_dev 1700 uspace/lib/ieee80211/src/ieee80211.c errno_t ieee80211_rx_handler(ieee80211_dev_t *ieee80211_dev, void *buffer,
ieee80211_dev 1711 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_process_probe_response(ieee80211_dev,
ieee80211_dev 1715 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_process_auth_response(ieee80211_dev,
ieee80211_dev 1719 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_process_assoc_response(ieee80211_dev,
ieee80211_dev 1722 uspace/lib/ieee80211/src/ieee80211.c return ieee80211_process_data(ieee80211_dev, buffer,
ieee80211_dev 56 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_dev_t *ieee80211_dev = nic_get_specific(nic_data);
ieee80211_dev 58 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (!ieee80211_is_ready(ieee80211_dev))
ieee80211_dev 62 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_dev->ops->scan(ieee80211_dev);
ieee80211_dev 64 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_lock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 68 uspace/lib/ieee80211/src/ieee80211_iface_impl.c &ieee80211_dev->ap_list;
ieee80211_dev 81 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_unlock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 100 uspace/lib/ieee80211/src/ieee80211_iface_impl.c static errno_t ieee80211_connect_proc(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 103 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_dev->bssid_info.res_link = auth_data;
ieee80211_dev 106 uspace/lib/ieee80211/src/ieee80211_iface_impl.c errno_t rc = ieee80211_dev->ops->set_freq(ieee80211_dev,
ieee80211_dev 112 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_authenticate(ieee80211_dev);
ieee80211_dev 114 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 115 uspace/lib/ieee80211/src/ieee80211_iface_impl.c rc = fibril_condvar_wait_timeout(&ieee80211_dev->gen_cond,
ieee80211_dev 116 uspace/lib/ieee80211/src/ieee80211_iface_impl.c &ieee80211_dev->gen_mutex, AUTH_TIMEOUT);
ieee80211_dev 117 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 122 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (ieee80211_get_auth_phase(ieee80211_dev) !=
ieee80211_dev 124 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_set_auth_phase(ieee80211_dev,
ieee80211_dev 130 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_associate(ieee80211_dev, password);
ieee80211_dev 132 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 133 uspace/lib/ieee80211/src/ieee80211_iface_impl.c rc = fibril_condvar_wait_timeout(&ieee80211_dev->gen_cond,
ieee80211_dev 134 uspace/lib/ieee80211/src/ieee80211_iface_impl.c &ieee80211_dev->gen_mutex, AUTH_TIMEOUT);
ieee80211_dev 135 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 140 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (ieee80211_get_auth_phase(ieee80211_dev) !=
ieee80211_dev 142 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_set_auth_phase(ieee80211_dev,
ieee80211_dev 152 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_lock(&ieee80211_dev->gen_mutex);
ieee80211_dev 153 uspace/lib/ieee80211/src/ieee80211_iface_impl.c rc = fibril_condvar_wait_timeout(&ieee80211_dev->gen_cond,
ieee80211_dev 154 uspace/lib/ieee80211/src/ieee80211_iface_impl.c &ieee80211_dev->gen_mutex, HANDSHAKE_TIMEOUT);
ieee80211_dev 155 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_unlock(&ieee80211_dev->gen_mutex);
ieee80211_dev 158 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_deauthenticate(ieee80211_dev);
ieee80211_dev 163 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_set_auth_phase(ieee80211_dev, IEEE80211_AUTH_CONNECTED);
ieee80211_dev 186 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_dev_t *ieee80211_dev = nic_get_specific(nic_data);
ieee80211_dev 188 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (!ieee80211_is_ready(ieee80211_dev))
ieee80211_dev 191 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (ieee80211_is_connected(ieee80211_dev)) {
ieee80211_dev 192 uspace/lib/ieee80211/src/ieee80211_iface_impl.c errno_t rc = ieee80211_dev->iface->disconnect(fun);
ieee80211_dev 197 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_set_connect_request(ieee80211_dev);
ieee80211_dev 200 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_lock(&ieee80211_dev->scan_mutex);
ieee80211_dev 202 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_dev->pending_conn_req = false;
ieee80211_dev 204 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_scan_result_list_foreach(ieee80211_dev->ap_list, result) {
ieee80211_dev 207 uspace/lib/ieee80211/src/ieee80211_iface_impl.c rc = ieee80211_connect_proc(ieee80211_dev, result,
ieee80211_dev 213 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_unlock(&ieee80211_dev->scan_mutex);
ieee80211_dev 229 uspace/lib/ieee80211/src/ieee80211_iface_impl.c ieee80211_dev_t *ieee80211_dev = nic_get_specific(nic_data);
ieee80211_dev 231 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (!ieee80211_is_ready(ieee80211_dev))
ieee80211_dev 234 uspace/lib/ieee80211/src/ieee80211_iface_impl.c if (!ieee80211_is_connected(ieee80211_dev))
ieee80211_dev 237 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_lock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 238 uspace/lib/ieee80211/src/ieee80211_iface_impl.c errno_t rc = ieee80211_deauthenticate(ieee80211_dev);
ieee80211_dev 239 uspace/lib/ieee80211/src/ieee80211_iface_impl.c fibril_mutex_unlock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 51 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_start_impl(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 65 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_tx_handler_impl(ieee80211_dev_t *ieee80211_dev, void *buffer,
ieee80211_dev 79 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_set_freq_impl(ieee80211_dev_t *ieee80211_dev, uint16_t freq)
ieee80211_dev 91 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_bssid_change_impl(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 104 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_key_config_impl(ieee80211_dev_t *ieee80211_dev,
ieee80211_dev 118 uspace/lib/ieee80211/src/ieee80211_impl.c errno_t ieee80211_scan_impl(ieee80211_dev_t *ieee80211_dev)
ieee80211_dev 120 uspace/lib/ieee80211/src/ieee80211_impl.c fibril_mutex_lock(&ieee80211_dev->scan_mutex);
ieee80211_dev 122 uspace/lib/ieee80211/src/ieee80211_impl.c if (ieee80211_get_auth_phase(ieee80211_dev) ==
ieee80211_dev 124 uspace/lib/ieee80211/src/ieee80211_impl.c fibril_mutex_lock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 128 uspace/lib/ieee80211/src/ieee80211_impl.c &ieee80211_dev->ap_list;
ieee80211_dev 141 uspace/lib/ieee80211/src/ieee80211_impl.c fibril_mutex_unlock(&ieee80211_dev->ap_list.results_mutex);
ieee80211_dev 143 uspace/lib/ieee80211/src/ieee80211_impl.c uint16_t orig_freq = ieee80211_dev->current_freq;
ieee80211_dev 147 uspace/lib/ieee80211/src/ieee80211_impl.c if (ieee80211_pending_connect_request(ieee80211_dev))
ieee80211_dev 150 uspace/lib/ieee80211/src/ieee80211_impl.c ieee80211_dev->ops->set_freq(ieee80211_dev, freq);
ieee80211_dev 151 uspace/lib/ieee80211/src/ieee80211_impl.c ieee80211_probe_request(ieee80211_dev, NULL);
ieee80211_dev 157 uspace/lib/ieee80211/src/ieee80211_impl.c ieee80211_dev->ops->set_freq(ieee80211_dev, orig_freq);
ieee80211_dev 160 uspace/lib/ieee80211/src/ieee80211_impl.c fibril_mutex_unlock(&ieee80211_dev->scan_mutex);
HelenOS homepage, sources at GitHub