| .. | .. |
|---|
| 181 | 181 | sz += 2; |
|---|
| 182 | 182 | ie += 2; |
|---|
| 183 | 183 | /*SSID*/ |
|---|
| 184 | | - ie = r8712_set_ie(ie, _SSID_IE_, dev_network->Ssid.SsidLength, |
|---|
| 184 | + ie = r8712_set_ie(ie, WLAN_EID_SSID, dev_network->Ssid.SsidLength, |
|---|
| 185 | 185 | dev_network->Ssid.Ssid, &sz); |
|---|
| 186 | 186 | /*supported rates*/ |
|---|
| 187 | 187 | set_supported_rate(dev_network->rates, registrypriv->wireless_mode); |
|---|
| 188 | 188 | rate_len = r8712_get_rateset_len(dev_network->rates); |
|---|
| 189 | 189 | if (rate_len > 8) { |
|---|
| 190 | | - ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_, 8, |
|---|
| 190 | + ie = r8712_set_ie(ie, WLAN_EID_SUPP_RATES, 8, |
|---|
| 191 | 191 | dev_network->rates, &sz); |
|---|
| 192 | | - ie = r8712_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8), |
|---|
| 192 | + ie = r8712_set_ie(ie, WLAN_EID_EXT_SUPP_RATES, (rate_len - 8), |
|---|
| 193 | 193 | (dev_network->rates + 8), &sz); |
|---|
| 194 | 194 | } else { |
|---|
| 195 | | - ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_, |
|---|
| 195 | + ie = r8712_set_ie(ie, WLAN_EID_SUPP_RATES, |
|---|
| 196 | 196 | rate_len, dev_network->rates, &sz); |
|---|
| 197 | 197 | } |
|---|
| 198 | 198 | /*DS parameter set*/ |
|---|
| 199 | | - ie = r8712_set_ie(ie, _DSSET_IE_, 1, |
|---|
| 199 | + ie = r8712_set_ie(ie, WLAN_EID_DS_PARAMS, 1, |
|---|
| 200 | 200 | (u8 *)&dev_network->Configuration.DSConfig, &sz); |
|---|
| 201 | 201 | /*IBSS Parameter Set*/ |
|---|
| 202 | | - ie = r8712_set_ie(ie, _IBSS_PARA_IE_, 2, |
|---|
| 202 | + ie = r8712_set_ie(ie, WLAN_EID_IBSS_PARAMS, 2, |
|---|
| 203 | 203 | (u8 *)&dev_network->Configuration.ATIMWindow, &sz); |
|---|
| 204 | 204 | return sz; |
|---|
| 205 | 205 | } |
|---|