Skip to content

Commit

Permalink
Update rtl8192cu driver to 3.4.4_4749
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 10, 2013
1 parent dd24464 commit b7153ab
Show file tree
Hide file tree
Showing 163 changed files with 49,747 additions and 49,582 deletions.
Empty file modified drivers/net/wireless/rtl8192cu/Kconfig
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rtl8192cu/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ ifeq ($(CONFIG_PLATFORM_ARM_BCM2708), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE ?=
KVER := 3.2.27+
KVER := 3.6.11+
KSRC := /lib/modules/$(KVER)/build
endif

Expand Down
Empty file modified drivers/net/wireless/rtl8192cu/clean
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/efuse/rtw_efuse.c
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_br_ext.c
100755 → 100644
Empty file.
7 changes: 4 additions & 3 deletions drivers/net/wireless/rtl8192cu/core/rtw_cmd.c
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@ _func_enter_;

init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey));

psurveyPara->bsslimit = cpu_to_le32(48);
psurveyPara->scan_mode = cpu_to_le32(pmlmepriv->scan_mode);
psurveyPara->bsslimit = 48;
psurveyPara->scan_mode = pmlmepriv->scan_mode;

_rtw_memset(psurveyPara->ssid, 0, sizeof(NDIS_802_11_SSID)*RTW_SSID_SCAN_AMOUNT);

Expand Down Expand Up @@ -2395,6 +2395,7 @@ _func_enter_;

_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);

#ifdef CONFIG_FW_MLMLE
//endian_convert
pnetwork->Length = le32_to_cpu(pnetwork->Length);
pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength);
Expand All @@ -2411,7 +2412,7 @@ _func_enter_;
pnetwork->Configuration.Length = le32_to_cpu(pnetwork->Configuration.Length);
pnetwork->InfrastructureMode = le32_to_cpu(pnetwork->InfrastructureMode);
pnetwork->IELength = le32_to_cpu(pnetwork->IELength);

#endif

_enter_critical_bh(&pmlmepriv->lock, &irqL);

Expand Down
47 changes: 47 additions & 0 deletions drivers/net/wireless/rtl8192cu/core/rtw_debug.c
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,53 @@ int proc_set_rx_signal(struct file *file, const char *buffer,

}

int proc_get_ampdu_enable(char *page, char **start,
off_t offset, int count,
int *eof, void *data)
{
struct net_device *dev = data;
_adapter *padapter = (_adapter *)rtw_netdev_priv(dev);
struct registry_priv *pregpriv = &padapter->registrypriv;

int len = 0;

if(pregpriv)
len += snprintf(page + len, count - len,
"%d\n",
pregpriv->ampdu_enable
);

*eof = 1;
return len;
}

int proc_set_ampdu_enable(struct file *file, const char *buffer,
unsigned long count, void *data)
{
struct net_device *dev = (struct net_device *)data;
_adapter *padapter = (_adapter *)rtw_netdev_priv(dev);
struct registry_priv *pregpriv = &padapter->registrypriv;
char tmp[32];
u32 mode;

if (count < 1)
return -EFAULT;

if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) {

int num = sscanf(tmp, "%d ", &mode);

if( pregpriv && mode >= 0 && mode < 3 )
{
pregpriv->ampdu_enable= mode;
printk("ampdu_enable=%d\n", mode);
}
}

return count;

}

int proc_get_rssi_disp(char *page, char **start,
off_t offset, int count,
int *eof, void *data)
Expand Down
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_eeprom.c
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_ieee80211.c
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_io.c
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_ioctl_query.c
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_ioctl_rtl.c
100755 → 100644
Empty file.
Empty file modified drivers/net/wireless/rtl8192cu/core/rtw_ioctl_set.c
100755 → 100644
Empty file.
Loading

0 comments on commit b7153ab

Please sign in to comment.