找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 16787|回复: 36

优酷路由宝 YK-L1 原始eeprom备份,取自原始固件 2.1.0420.5035

[复制链接]
发表于 2017-11-20 21:55 | 显示全部楼层 |阅读模式
本帖最后由 hello_limin 于 2017-11-24 21:25 编辑

如题,
优酷路由宝 YK-L1 原始eeprom备份,取自原始固件 2.1.0420.5035,



999-rt2x00-queue-update.patch
  1. --- a/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c        2015-06-16 13:02:30.000000000 +0300
  2. +++ b/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c        2015-09-04 11:50:09.665148666 +0300
  3. @@ -700,7 +700,7 @@ void rt2800mmio_queue_init(struct data
  4.   
  5.           switch (queue->qid) {
  6.           case QID_RX:
  7. -                 queue->limit = 128;
  8. +                 queue->limit = 512;
  9.                   queue->data_size = AGGREGATION_SIZE;
  10.                   queue->desc_size = RXD_DESC_SIZE;
  11.                   queue->winfo_size = rxwi_size;
  12. @@ -711,7 +711,7 @@ void rt2800mmio_queue_init(struct data
  13.           case QID_AC_VI:
  14.           case QID_AC_BE:
  15.           case QID_AC_BK:
  16. -                 queue->limit = 64;
  17. +                 queue->limit = 512;
  18.                   queue->data_size = AGGREGATION_SIZE;
  19.                   queue->desc_size = TXD_DESC_SIZE;
  20.                   queue->winfo_size = txwi_size;

  21. --- a/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c        2015-06-16 13:02:30.000000000 +0300
  22. +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c        2015-09-04 11:47:45.845449209 +0300
  23. @@ -26,6 +26,7 @@
  24.   #include "rt2x00.h"
  25.   #include "rt2x00lib.h"
  26. + #include "rt2x00queue.h"
  27.   
  28.   static int rt2x00mac_tx_rts_cts(struct rt2x00_dev *rt2x00dev,
  29.                                   struct data_queue *queue,
  30. @@ -115,6 +115,26 @@ void rt2x00mac_tx(struct ieee80211
  31.           if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags))
  32.                   goto exit_free_skb;
  33.   
  34. +         /* Dirty hack for Queue overrun protection,
  35. +          * if AC_VO/AC_VI/AC_BE is full, use next queue.
  36. +          * if AC_BK is full use previous queue.
  37. +          */
  38. +         if (qid < 4) {
  39. +                 queue = rt2x00queue_get_tx_queue(rt2x00dev,qid);
  40. +                 if (unlikely(rt2x00queue_full(queue))){
  41. +                         switch(qid){
  42. +                                 case 0: /* QID_AC_VO */
  43. +                                 case 1: /* QID_AC_VI */
  44. +                                 case 2: /* QID_AC_BE */
  45. +                                         qid++;
  46. +                                         break;
  47. +                                 case 3: /* QID_AC_BK */
  48. +                                         qid--;
  49. +                                         break;
  50. +                         }
  51. +                 }
  52. +         }
  53. +        
  54.           /*
  55.            * Use the ATIM queue if appropriate and present.
  56.            */

  57. --- a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c        2015-03-10 05:37:16.000000000 +0200
  58. +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c        2015-09-04 11:49:37.911446071 +0300
  59. @@ -1211,16 +1211,44 @@ void rt2x00queue_uninitialize(struct rt2x00
  60.   static void rt2x00queue_init(struct rt2x00_dev *rt2x00dev,
  61.                                struct data_queue *queue, enum data_queue_qid qid)
  62.   {
  63. +         /* Use default values for each queue type */
  64. +         unsigned short cwmin = 5, cwmax = 10, aifs = 2, txop = 0;
  65. +        
  66. +         switch (qid) {
  67. +                 case QID_AC_VO:
  68. +                         cwmin = 2;
  69. +                         cwmax = 3;
  70. +                         txop = 47;
  71. +                         break;
  72. +                 case QID_AC_VI:
  73. +                         cwmin = 3;
  74. +                         cwmax = 4;
  75. +                         txop = 94;
  76. +                         break;
  77. +                 case QID_AC_BE:
  78. +                         cwmin = 4;
  79. +                         aifs = 3;
  80. +                         break;
  81. +                 case QID_AC_BK:
  82. +                         cwmin = 4;
  83. +                         aifs = 7;
  84. +                         break;
  85. +         }
  86. +        
  87.           mutex_init(&queue->status_lock);
  88.           spin_lock_init(&queue->tx_lock);
  89.           spin_lock_init(&queue->index_lock);
  90.   
  91.           queue->rt2x00dev = rt2x00dev;
  92.           queue->qid = qid;
  93. -         queue->txop = 0;
  94. -         queue->aifs = 2;
  95. -         queue->cw_min = 5;
  96. -         queue->cw_max = 10;
  97. +         queue->txop = txop;
  98. +         queue->aifs = aifs;
  99. +         queue->cw_min = cwmin;
  100. +         queue->cw_max = cwmax;
  101.   
  102.           rt2x00dev->ops->queue_init(queue);
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +2 收起 理由
antons + 2 面对这种帖子,我内心复杂,真不知道说什么好……

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2017-11-27 14:51 | 显示全部楼层
本帖最后由 hello_limin 于 2018-3-26 18:37 编辑

TP-LINK TL-WR881N v1 及自用相关文件

=========================
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-11-27 15:00 | 显示全部楼层
本帖最后由 hello_limin 于 2018-3-26 18:37 编辑

  




我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-12-23 12:46 | 显示全部楼层
是不是原厂固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-2 19:07 来自手机 | 显示全部楼层
感谢分享,。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-5 11:29 | 显示全部楼层
没人说一下嘛,我的刷机后丢失eeprom,无线直接废了

点评

我测试了,是原始eeprom,刷好后WiFi正常了  详情 回复 发表于 2018-3-5 12:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-5 12:04 | 显示全部楼层
神马黑黑 发表于 2018-3-5 11:29
没人说一下嘛,我的刷机后丢失eeprom,无线直接废了

我测试了,是原始eeprom,刷好后WiFi正常了

点评

是吧?好用的话就帮忙推荐推荐呗  详情 回复 发表于 2018-3-5 12:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-5 12:25 | 显示全部楼层
神马黑黑 发表于 2018-3-5 12:04
我测试了,是原始eeprom,刷好后WiFi正常了

是吧?好用的话就帮忙推荐推荐呗

点评

怎么推荐?  详情 回复 发表于 2018-3-5 14:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-5 14:08 | 显示全部楼层
hello_limin 发表于 2018-3-5 12:25
是吧?好用的话就帮忙推荐推荐呗

怎么推荐?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-26 18:28 | 显示全部楼层
  1. # Github Start
  2. 192.30.253.112        github.com
  3. 192.30.253.112        www.github.com
  4. 192.30.253.118        gist.github.com
  5. 151.101.13.194  github.global.ssl.fastly.net
  6. 151.101.185.194 github.global.ssl.fastly.net
  7. # Github End
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-26 18:38 | 显示全部楼层
wireless-regdb

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-3-26 18:39 | 显示全部楼层
wireless-regdb
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-7-11 14:57 | 显示全部楼层
感谢分享,。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-7-28 09:12 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-9-21 10:20 | 显示全部楼层
为什么购买了无法下载。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 02:11

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表