Changes in uspace/lib/ieee80211/include/ieee80211.h [8a64320e:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ieee80211/include/ieee80211.h
r8a64320e rb7fd2a0 103 103 * @param ieee80211_dev Pointer to IEEE 802.11 device structure. 104 104 * 105 * @return EOK if succeed, negativeerror code otherwise.106 * 107 */ 108 int (*start)(struct ieee80211_dev *);105 * @return EOK if succeed, error code otherwise. 106 * 107 */ 108 errno_t (*start)(struct ieee80211_dev *); 109 109 110 110 /** Scan neighborhood for networks. … … 115 115 * @param ieee80211_dev Pointer to IEEE 802.11 device structure. 116 116 * 117 * @return EOK if succeed, negativeerror code otherwise.118 * 119 */ 120 int (*scan)(struct ieee80211_dev *);117 * @return EOK if succeed, error code otherwise. 118 * 119 */ 120 errno_t (*scan)(struct ieee80211_dev *); 121 121 122 122 /** Handler for TX frames to be send from device. … … 129 129 * @param buffer_size Size of buffer. 130 130 * 131 * @return EOK if succeed, negativeerror code otherwise.132 * 133 */ 134 int (*tx_handler)(struct ieee80211_dev *, void *, size_t);131 * @return EOK if succeed, error code otherwise. 132 * 133 */ 134 errno_t (*tx_handler)(struct ieee80211_dev *, void *, size_t); 135 135 136 136 /** Set device operating frequency to given value. … … 139 139 * @param freq New device operating frequency. 140 140 * 141 * @return EOK if succeed, negativeerror code otherwise.142 * 143 */ 144 int (*set_freq)(struct ieee80211_dev *, uint16_t);141 * @return EOK if succeed, error code otherwise. 142 * 143 */ 144 errno_t (*set_freq)(struct ieee80211_dev *, uint16_t); 145 145 146 146 /** Callback to inform device about BSSID change. … … 149 149 * @param connected True if connected to new BSSID, otherwise false. 150 150 * 151 * @return EOK if succeed, negativeerror code otherwise.152 * 153 */ 154 int (*bssid_change)(struct ieee80211_dev *, bool);151 * @return EOK if succeed, error code otherwise. 152 * 153 */ 154 errno_t (*bssid_change)(struct ieee80211_dev *, bool); 155 155 156 156 /** Callback to setup encryption key in IEEE 802.11 device. … … 161 161 * false to remove it. 162 162 * 163 * @return EOK if succeed, negativeerror code otherwise.164 * 165 */ 166 int (*key_config)(struct ieee80211_dev *,163 * @return EOK if succeed, error code otherwise. 164 * 165 */ 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.