Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:oremanj:journal:week4 [2009/06/20 02:05]
rwcr
soc:2009:oremanj:journal:week4 [2009/06/21 21:00] (current)
rwcr
Line 184: Line 184:
 It's big by gPXE standards, but not enormous, and I think the size is reasonable given the complexity of the 802.11 protocol. And with the mucurses stuff (login and config) taken out but everything else default including iSCSI linked in, it meets the real test: It's big by gPXE standards, but not enormous, and I think the size is reasonable given the complexity of the 802.11 protocol. And with the mucurses stuff (login and config) taken out but everything else default including iSCSI linked in, it meets the real test:
   68 -rw-r--r-- 1 oremanj oremanj 65024 2009-06-20 01:59 bin/​rtl8180--rtl8180_rtl8225.rom   68 -rw-r--r-- 1 oremanj oremanj 65024 2009-06-20 01:59 bin/​rtl8180--rtl8180_rtl8225.rom
-Under 64k--yippee! (With a completely default config it's 66,560 bytes.)+Under 64k---yippee! (With a completely default config it's 66,560 bytes.) ​Of course, the real challenge will be squeezing encryption support in there... but I've got the rest of the summer to figure that out ;-) 
 + 
 +==== Saturday, 20 June ==== 
 +Did a bunch of cleanup with no feature changes, and everything has been pushed to mainline-review. :-) 
 +  * On branch **wireless**,​ merged in mainline-review such that wireless and mainline-review now represent the same tree. 
 +  * On branch **mainline-review**:​ 
 +    * [[http://​git.etherboot.org/?​p=people/​oremanj/​gpxe.git;​a=commit;​h=4edf4718760dfb35c6a0c811fc2e019fb176e9fc| 
 +[802.11] Add support for 802.11 devices with software MAC layer]] [+8,006 bytes] 
 +    * [[http://​git.etherboot.org/?​p=people/​oremanj/​gpxe.git;​a=commit;​h=b23fba30c9847b8fabf651d50cf6e4e323753548| 
 +[rtl818x] Add driver for Realtek 8180/8185 wireless cards]] [+3,298 + (2,930 for rtl8180; 8,198 for rtl8185) bytes] 
 +    * [[http://​git.etherboot.org/?​p=people/​oremanj/​gpxe.git;​a=commit;​h=dcd4ae5d0edbc9abd429bce50f0e58726cdfe00b| 
 +[iwmgmt] Add user-level 802.11 management commands and common error tables]] [+1,779 bytes] 
 + 
 +I took the opportunity to make the Realtek naming sane: 
 +  % make bin/​rtl8180.lkrn ​      # for an 8180 chipset with any of the 802.11b RF modules 
 +  % make bin/​rtl8185.lkrn ​      # for an 8185 chipset with its 8225 RF module 
 +  % make bin/​rtl818x--rtl8180_sa2400.lkrn ​    # 8180 chipset with a specific RF module, for the size-pressed 
 +  % make bin/​10ec8185.rom ​      # rtl8185 generic PCI card ROM (needs to be piggybacked on e.g. an r8169) 
 +The main driver code is now called "​rtl818x"​ to signify that it works for both 8180 and 8185. It was getting quite confusing having some things named rtl8180 and some named rtl818x. The original distinction between the two (from the Linux driver) was that the rtl818x structures also applied to the rtl8187 USB device; I doubt gPXE is ever going to support wireless USB devices, so we don't have to follow that lead. The rtl8180.c and rtl8185.c are each wrapper files (zero bytes compiled) that use ''​REQUIRE_OBJECT()''​ to pull in the necessary ''​rtl818x.o''​ main driver and whatever RF modules are required for the type of card they represent; each also contains a dummy list of ''​PCI_ROM''​ lines for that card, to enable the form of ''​make''​ shown in the last line above. The real NIC list in ''​rtl818x.c''​ is presented such that ''​parserom.pl''​ will not be confused by it. 
 + 
 +I also moved the wireless code into net/80211/ (from the root of net/), in recognition that there will be several more files appearing there shortly to support encryption. 
 + 
 +Commits ready for mainline review, in reverse order: 
 +  oremanj@xenon /​home/​oremanj/​dev/​gpxe/​src % git log --pretty=oneline mainline-review | head -n 12 
 +  dcd4ae5d0edbc9abd429bce50f0e58726cdfe00b [iwmgmt] Add user-level 802.11 management commands and common error tables 
 +  b23fba30c9847b8fabf651d50cf6e4e323753548 [rtl818x] Add driver for Realtek 8180/8185 wireless cards 
 +  4edf4718760dfb35c6a0c811fc2e019fb176e9fc [802.11] Add support for 802.11 devices with software MAC layer 
 +  6d63a4a5f928b46422e2eb79837a8aba103e5bb7 [dhcp] Await link-up before starting DHCP 
 +  22c261e77bda0984f4cb052037008f487a4bcaa6 [hci] Expose ifcommon_exec() in a local header so wireless commands can use it 
 +  30df822acbf6a207201f111d886effa0e4fc97d3 [ifmgmt] Move link-up status messages from autoboot() to iflinkwait() 
 +  4602299f4b96f7692766553d5972066dfd567b4e [netdevice] Add netdev->​link_rc field for errors encountered during link-up 
 +  8041741323b40d9f5c482d3c6e1391bee7be759d [tcp] Ignore duplicate ACKs in TCP ESTABLISHED state 
 +  a9a0567225493046f70e6252e21ab5c6d8219e87 [image] Modify imgfree command to accept an argument 
 +  f77b486f42b2b12604ce94d65cbba33b55a589e5 [netdevice] Adjust maximum link-layer header length for 802.11 
 +  d429b31ac28760004e753dc79178400d507975e2 [netdevice] Add netdev argument to link-layer push and pull handlers 
 +  18e6470d06d8846d531d97d881be6f1278bd2f15 [nvs] Add init function for Atmel 93C66 EEPROM 
 + 
 +Next up: encryption...

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code soc:2009:oremanj:journal:week4 (generated for current page)