#include "r8180_93cx6.h"
-void eprom_cs(struct net_device *dev, short bit)
+static void eprom_cs(struct net_device *dev, short bit)
{
if(bit)
write_nic_byte(dev, EPROM_CMD,
}
-void eprom_ck_cycle(struct net_device *dev)
+static void eprom_ck_cycle(struct net_device *dev)
{
write_nic_byte(dev, EPROM_CMD,
(1<<EPROM_CK_SHIFT) | read_nic_byte(dev,EPROM_CMD));
}
-void eprom_w(struct net_device *dev,short bit)
+static void eprom_w(struct net_device *dev,short bit)
{
if(bit)
write_nic_byte(dev, EPROM_CMD, (1<<EPROM_W_SHIFT) | \
}
-short eprom_r(struct net_device *dev)
+static short eprom_r(struct net_device *dev)
{
short bit;
}
-void eprom_send_bits_string(struct net_device *dev, short b[], int len)
+static void eprom_send_bits_string(struct net_device *dev, short b[], int len)
{
int i;
}
#define MAX_DOZE_WAITING_TIMES_9x 64
-bool
+static bool
SetRFPowerState8190(
struct net_device* dev,
RT_RF_POWER_STATE eRFPowerState
//
// 050823, by rcnjko.
//
-bool
+static bool
SetRFPowerState(
struct net_device* dev,
RT_RF_POWER_STATE eRFPowerState
return bResult;
}
-void
+static void
MgntDisconnectIBSS(
struct net_device* dev
)
}
-void
+static void
MlmeDisassociateRequest(
struct net_device* dev,
u8* asSta,
SendDisassociation( priv->ieee80211, asSta, asRsn );
- if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == 0)
+ if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == NULL)
{
//ShuChen TODO: change media status.
//ShuChen TODO: What to do when disassociate.
}
-void
+static void
MgntDisconnectAP(
struct net_device* dev,
u8 asRsn
}
-bool
+static bool
MgntDisconnect(
struct net_device* dev,
u8 asRsn