Changes in uspace/lib/ieee80211/src/ieee80211_impl.c [b7fd2a0:8a64320e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ieee80211/src/ieee80211_impl.c
rb7fd2a0 r8a64320e 49 49 * 50 50 */ 51 errno_t ieee80211_start_impl(ieee80211_dev_t *ieee80211_dev)51 int ieee80211_start_impl(ieee80211_dev_t *ieee80211_dev) 52 52 { 53 53 return EOK; … … 63 63 * 64 64 */ 65 errno_t ieee80211_tx_handler_impl(ieee80211_dev_t *ieee80211_dev, void *buffer,65 int ieee80211_tx_handler_impl(ieee80211_dev_t *ieee80211_dev, void *buffer, 66 66 size_t buffer_size) 67 67 { … … 77 77 * 78 78 */ 79 errno_t ieee80211_set_freq_impl(ieee80211_dev_t *ieee80211_dev, uint16_t freq)79 int ieee80211_set_freq_impl(ieee80211_dev_t *ieee80211_dev, uint16_t freq) 80 80 { 81 81 return EOK; … … 89 89 * 90 90 */ 91 errno_t ieee80211_bssid_change_impl(ieee80211_dev_t *ieee80211_dev,91 int ieee80211_bssid_change_impl(ieee80211_dev_t *ieee80211_dev, 92 92 bool connected) 93 93 { … … 102 102 * 103 103 */ 104 errno_t ieee80211_key_config_impl(ieee80211_dev_t *ieee80211_dev,104 int ieee80211_key_config_impl(ieee80211_dev_t *ieee80211_dev, 105 105 ieee80211_key_config_t *key_conf, bool insert) 106 106 { … … 113 113 * @param clear Whether to clear current scan results. 114 114 * 115 * @return EOK if succeed, error code otherwise.116 * 117 */ 118 errno_t ieee80211_scan_impl(ieee80211_dev_t *ieee80211_dev)115 * @return EOK if succeed, negative error code otherwise. 116 * 117 */ 118 int ieee80211_scan_impl(ieee80211_dev_t *ieee80211_dev) 119 119 { 120 120 fibril_mutex_lock(&ieee80211_dev->scan_mutex); … … 178 178 * 179 179 */ 180 errno_t ieee80211_prf(uint8_t *key, uint8_t *data, uint8_t *hash,180 int ieee80211_prf(uint8_t *key, uint8_t *data, uint8_t *hash, 181 181 size_t output_size) 182 182 { … … 212 212 } 213 213 214 errno_t ieee80211_rc4_key_unwrap(uint8_t *key, uint8_t *data, size_t data_size,214 int ieee80211_rc4_key_unwrap(uint8_t *key, uint8_t *data, size_t data_size, 215 215 uint8_t *output) 216 216 { … … 218 218 } 219 219 220 errno_t ieee80211_aes_key_unwrap(uint8_t *kek, uint8_t *data, size_t data_size,220 int ieee80211_aes_key_unwrap(uint8_t *kek, uint8_t *data, size_t data_size, 221 221 uint8_t *output) 222 222 { … … 285 285 } 286 286 287 errno_t ieee80211_michael_mic(uint8_t *key, uint8_t *buffer, size_t size,287 int ieee80211_michael_mic(uint8_t *key, uint8_t *buffer, size_t size, 288 288 uint8_t *mic) 289 289 { … … 372 372 } 373 373 374 errno_t rnd_sequence(uint8_t *sequence, size_t length)374 int rnd_sequence(uint8_t *sequence, size_t length) 375 375 { 376 376 if (!sequence)
Note:
See TracChangeset
for help on using the changeset viewer.