Loading drivers/staging/wlan-ng/prism2mib.c +253 −253 Original line number Diff line number Diff line Loading @@ -237,7 +237,7 @@ static struct mibrec mibtab[] = { {0, 0, 0, 0, 0, NULL} }; /*---------------------------------------------------------------- /* * prism2mgmt_mibset_mibget * * Set the value of a mib item. Loading @@ -255,7 +255,7 @@ static struct mibrec mibtab[] = { * Call context: * process thread (usually) * interrupt ----------------------------------------------------------------*/ */ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) { Loading Loading @@ -346,7 +346,7 @@ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) return 0; } /*---------------------------------------------------------------- /* * prism2mib_bytearea2pstr * * Get/set pstr data to/from a byte area. Loading @@ -369,7 +369,7 @@ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_bytearea2pstr(struct mibrec *mib, int isget, Loading @@ -396,7 +396,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_uint32 * * Get/set uint32 data. Loading @@ -419,7 +419,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_uint32(struct mibrec *mib, int isget, Loading @@ -443,7 +443,7 @@ static int prism2mib_uint32(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_flag * * Get/set a flag. Loading @@ -466,7 +466,7 @@ static int prism2mib_uint32(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_flag(struct mibrec *mib, int isget, Loading Loading @@ -500,7 +500,7 @@ static int prism2mib_flag(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_wepdefaultkey * * Get/set WEP default keys. Loading @@ -523,7 +523,7 @@ static int prism2mib_flag(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_wepdefaultkey(struct mibrec *mib, int isget, Loading @@ -550,7 +550,7 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_privacyinvoked * * Get/set the dot11PrivacyInvoked value. Loading @@ -573,7 +573,7 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_privacyinvoked(struct mibrec *mib, int isget, Loading @@ -592,7 +592,7 @@ static int prism2mib_privacyinvoked(struct mibrec *mib, return prism2mib_flag(mib, isget, wlandev, hw, msg, data); } /*---------------------------------------------------------------- /* * prism2mib_excludeunencrypted * * Get/set the dot11ExcludeUnencrypted value. Loading @@ -615,7 +615,7 @@ static int prism2mib_privacyinvoked(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_excludeunencrypted(struct mibrec *mib, int isget, Loading @@ -628,7 +628,7 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib, return prism2mib_flag(mib, isget, wlandev, hw, msg, data); } /*---------------------------------------------------------------- /* * prism2mib_fragmentationthreshold * * Get/set the fragmentation threshold. Loading @@ -651,7 +651,7 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_fragmentationthreshold(struct mibrec *mib, int isget, Loading @@ -674,7 +674,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib, return prism2mib_uint32(mib, isget, wlandev, hw, msg, data); } /*---------------------------------------------------------------- /* * prism2mib_priv * * Get/set values in the "priv" data structure. Loading @@ -697,7 +697,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_priv(struct mibrec *mib, int isget, Loading Loading @@ -736,7 +736,7 @@ static int prism2mib_priv(struct mibrec *mib, return 0; } /*---------------------------------------------------------------- /* * prism2mgmt_pstr2bytestr * * Convert the pstr data in the WLAN message structure into an hfa384x Loading @@ -749,7 +749,7 @@ static int prism2mib_priv(struct mibrec *mib, * Returns: * Nothing * ----------------------------------------------------------------*/ */ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, p80211pstrd_t *pstr) Loading @@ -758,7 +758,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, memcpy(bytestr->data, pstr->data, pstr->len); } /*---------------------------------------------------------------- /* * prism2mgmt_bytestr2pstr * * Convert the data in an hfa384x byte string format into a Loading @@ -771,7 +771,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, * Returns: * Nothing * ----------------------------------------------------------------*/ */ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, p80211pstrd_t *pstr) Loading @@ -780,7 +780,7 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, memcpy(pstr->data, bytestr->data, pstr->len); } /*---------------------------------------------------------------- /* * prism2mgmt_bytearea2pstr * * Convert the data in an hfa384x byte area format into a pstr Loading @@ -793,7 +793,7 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, * Returns: * Nothing * ----------------------------------------------------------------*/ */ void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len) { Loading Loading
drivers/staging/wlan-ng/prism2mib.c +253 −253 Original line number Diff line number Diff line Loading @@ -237,7 +237,7 @@ static struct mibrec mibtab[] = { {0, 0, 0, 0, 0, NULL} }; /*---------------------------------------------------------------- /* * prism2mgmt_mibset_mibget * * Set the value of a mib item. Loading @@ -255,7 +255,7 @@ static struct mibrec mibtab[] = { * Call context: * process thread (usually) * interrupt ----------------------------------------------------------------*/ */ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) { Loading Loading @@ -346,7 +346,7 @@ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) return 0; } /*---------------------------------------------------------------- /* * prism2mib_bytearea2pstr * * Get/set pstr data to/from a byte area. Loading @@ -369,7 +369,7 @@ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_bytearea2pstr(struct mibrec *mib, int isget, Loading @@ -396,7 +396,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_uint32 * * Get/set uint32 data. Loading @@ -419,7 +419,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_uint32(struct mibrec *mib, int isget, Loading @@ -443,7 +443,7 @@ static int prism2mib_uint32(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_flag * * Get/set a flag. Loading @@ -466,7 +466,7 @@ static int prism2mib_uint32(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_flag(struct mibrec *mib, int isget, Loading Loading @@ -500,7 +500,7 @@ static int prism2mib_flag(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_wepdefaultkey * * Get/set WEP default keys. Loading @@ -523,7 +523,7 @@ static int prism2mib_flag(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_wepdefaultkey(struct mibrec *mib, int isget, Loading @@ -550,7 +550,7 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib, return result; } /*---------------------------------------------------------------- /* * prism2mib_privacyinvoked * * Get/set the dot11PrivacyInvoked value. Loading @@ -573,7 +573,7 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_privacyinvoked(struct mibrec *mib, int isget, Loading @@ -592,7 +592,7 @@ static int prism2mib_privacyinvoked(struct mibrec *mib, return prism2mib_flag(mib, isget, wlandev, hw, msg, data); } /*---------------------------------------------------------------- /* * prism2mib_excludeunencrypted * * Get/set the dot11ExcludeUnencrypted value. Loading @@ -615,7 +615,7 @@ static int prism2mib_privacyinvoked(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_excludeunencrypted(struct mibrec *mib, int isget, Loading @@ -628,7 +628,7 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib, return prism2mib_flag(mib, isget, wlandev, hw, msg, data); } /*---------------------------------------------------------------- /* * prism2mib_fragmentationthreshold * * Get/set the fragmentation threshold. Loading @@ -651,7 +651,7 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_fragmentationthreshold(struct mibrec *mib, int isget, Loading @@ -674,7 +674,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib, return prism2mib_uint32(mib, isget, wlandev, hw, msg, data); } /*---------------------------------------------------------------- /* * prism2mib_priv * * Get/set values in the "priv" data structure. Loading @@ -697,7 +697,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib, * 0 - Success. * ~0 - Error. * ----------------------------------------------------------------*/ */ static int prism2mib_priv(struct mibrec *mib, int isget, Loading Loading @@ -736,7 +736,7 @@ static int prism2mib_priv(struct mibrec *mib, return 0; } /*---------------------------------------------------------------- /* * prism2mgmt_pstr2bytestr * * Convert the pstr data in the WLAN message structure into an hfa384x Loading @@ -749,7 +749,7 @@ static int prism2mib_priv(struct mibrec *mib, * Returns: * Nothing * ----------------------------------------------------------------*/ */ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, p80211pstrd_t *pstr) Loading @@ -758,7 +758,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, memcpy(bytestr->data, pstr->data, pstr->len); } /*---------------------------------------------------------------- /* * prism2mgmt_bytestr2pstr * * Convert the data in an hfa384x byte string format into a Loading @@ -771,7 +771,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, * Returns: * Nothing * ----------------------------------------------------------------*/ */ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, p80211pstrd_t *pstr) Loading @@ -780,7 +780,7 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, memcpy(pstr->data, bytestr->data, pstr->len); } /*---------------------------------------------------------------- /* * prism2mgmt_bytearea2pstr * * Convert the data in an hfa384x byte area format into a pstr Loading @@ -793,7 +793,7 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, * Returns: * Nothing * ----------------------------------------------------------------*/ */ void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len) { Loading