Changes in uspace/lib/ieee80211/include/ieee80211.h [cde999a:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ieee80211/include/ieee80211.h
rcde999a rb7fd2a0 106 106 * 107 107 */ 108 int (*start)(struct ieee80211_dev *);108 errno_t (*start)(struct ieee80211_dev *); 109 109 110 110 /** Scan neighborhood for networks. … … 118 118 * 119 119 */ 120 int (*scan)(struct ieee80211_dev *);120 errno_t (*scan)(struct ieee80211_dev *); 121 121 122 122 /** Handler for TX frames to be send from device. … … 132 132 * 133 133 */ 134 int (*tx_handler)(struct ieee80211_dev *, void *, size_t);134 errno_t (*tx_handler)(struct ieee80211_dev *, void *, size_t); 135 135 136 136 /** Set device operating frequency to given value. … … 142 142 * 143 143 */ 144 int (*set_freq)(struct ieee80211_dev *, uint16_t);144 errno_t (*set_freq)(struct ieee80211_dev *, uint16_t); 145 145 146 146 /** Callback to inform device about BSSID change. … … 152 152 * 153 153 */ 154 int (*bssid_change)(struct ieee80211_dev *, bool);154 errno_t (*bssid_change)(struct ieee80211_dev *, bool); 155 155 156 156 /** Callback to setup encryption key in IEEE 802.11 device. … … 164 164 * 165 165 */ 166 int (*key_config)(struct ieee80211_dev *,166 errno_t (*key_config)(struct ieee80211_dev *, 167 167 ieee80211_key_config_t *key_conf, bool); 168 168 } ieee80211_ops_t; … … 170 170 /* Initialization functions. */ 171 171 extern ieee80211_dev_t *ieee80211_device_create(void); 172 extern int ieee80211_device_init(ieee80211_dev_t *, ddf_dev_t *);173 extern int ieee80211_init(ieee80211_dev_t *, ieee80211_ops_t *,172 extern errno_t ieee80211_device_init(ieee80211_dev_t *, ddf_dev_t *); 173 extern errno_t ieee80211_init(ieee80211_dev_t *, ieee80211_ops_t *, 174 174 ieee80211_iface_t *, nic_iface_t *, ddf_dev_ops_t *); 175 175 … … 201 201 202 202 /* Worker functions. */ 203 extern int ieee80211_rx_handler(ieee80211_dev_t *, void *, size_t);203 extern errno_t ieee80211_rx_handler(ieee80211_dev_t *, void *, size_t); 204 204 205 205 #endif
Note:
See TracChangeset
for help on using the changeset viewer.